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

59 lines
1.5 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module MenuItemToggle
-- @extend MenuItem
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- Sets the array that contains the subitems.
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemToggle] setSubItems
-- @param self
-- @param #array_table items
2014-03-10 14:04:58 +08:00
--------------------------------
-- Gets the index of the selected item
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemToggle] getSelectedIndex
-- @param self
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- add more menu item
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemToggle] addSubItem
-- @param self
-- @param #cc.MenuItem item
2014-03-10 14:04:58 +08:00
--------------------------------
-- return the selected item
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemToggle] getSelectedItem
-- @param self
-- @return MenuItem#MenuItem ret (return value: cc.MenuItem)
--------------------------------
-- Sets the index of the selected item
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemToggle] setSelectedIndex
-- @param self
-- @param #unsigned int index
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#MenuItemToggle] setEnabled
-- @param self
-- @param #bool var
--------------------------------
--
-- @function [parent=#MenuItemToggle] activate
-- @param self
--------------------------------
--
-- @function [parent=#MenuItemToggle] unselected
-- @param self
--------------------------------
--
-- @function [parent=#MenuItemToggle] selected
-- @param self
2014-03-10 14:04:58 +08:00
return nil