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

66 lines
2.0 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
-- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle)
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
-- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle)
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
-- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle)
2014-03-10 14:04:58 +08:00
--------------------------------
--
-- @function [parent=#MenuItemToggle] setEnabled
-- @param self
-- @param #bool var
-- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle)
--------------------------------
--
-- @function [parent=#MenuItemToggle] activate
-- @param self
-- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle)
--------------------------------
--
-- @function [parent=#MenuItemToggle] unselected
-- @param self
-- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle)
--------------------------------
--
-- @function [parent=#MenuItemToggle] selected
-- @param self
-- @return MenuItemToggle#MenuItemToggle self (return value: cc.MenuItemToggle)
2014-03-10 14:04:58 +08:00
return nil