summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.MenuItem.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.MenuItem.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.MenuItem.lua36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.MenuItem.lua b/meta/3rd/Cocos4.0/cc.MenuItem.lua
new file mode 100644
index 00000000..e1153e88
--- /dev/null
+++ b/meta/3rd/Cocos4.0/cc.MenuItem.lua
@@ -0,0 +1,36 @@
+
+---@class cc.MenuItem :cc.Node
+local MenuItem={ }
+cc.MenuItem=MenuItem
+
+
+
+
+---* Enables or disables the item.
+---@param value boolean
+---@return self
+function MenuItem:setEnabled (value) end
+---* Activate the item.
+---@return self
+function MenuItem:activate () end
+---* Returns whether or not the item is enabled.
+---@return boolean
+function MenuItem:isEnabled () end
+---* The item was selected (not activated), similar to "mouse-over".
+---@return self
+function MenuItem:selected () end
+---* Returns whether or not the item is selected.
+---@return boolean
+function MenuItem:isSelected () end
+---* The item was unselected.
+---@return self
+function MenuItem:unselected () end
+---* Returns the outside box.
+---@return rect_table
+function MenuItem:rect () end
+---* js NA
+---@return string
+function MenuItem:getDescription () end
+---* js ctor
+---@return self
+function MenuItem:MenuItem () end \ No newline at end of file