axmol/cocos/scripting/lua-bindings/auto/api/MenuItem.lua

57 lines
1.6 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module MenuItem
-- @extend Node
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Enables or disables the item.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItem] setEnabled
-- @param self
-- @param #bool value
-- @return MenuItem#MenuItem self (return value: cc.MenuItem)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Activate the item.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItem] activate
-- @param self
-- @return MenuItem#MenuItem self (return value: cc.MenuItem)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns whether or not the item is enabled.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItem] isEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- The item was selected (not activated), similar to "mouse-over".
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItem] selected
-- @param self
-- @return MenuItem#MenuItem self (return value: cc.MenuItem)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns whether or not the item is selected.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItem] isSelected
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- The item was unselected.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItem] unselected
-- @param self
-- @return MenuItem#MenuItem self (return value: cc.MenuItem)
2014-03-10 14:04:58 +08:00
--------------------------------
-- Returns the outside box.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItem] rect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
--
-- @function [parent=#MenuItem] getDescription
-- @param self
-- @return string#string ret (return value: string)
2014-03-10 14:04:58 +08:00
return nil