Creates a new menu item for a separator.
Creates a new menu item for an action.
The title for the action
The function to call when the action is triggered
OptionalkeyCombo: CCKeyComboA key combo that will trigger the action, if desired
Creates a new menu item for a radio action.
The title for the action
The function to call when the action is triggered
A key combo that will trigger the action, if desired
The ID of the group the item is in
Creates a new menu item for a checkbox action.
The title for the action
The function to call when the action is triggered
A key combo that will trigger the action, if desired
Whether the checkbox is initially checked
Creates a new menu item for a submenu.
The title for the submenu
The menu to display under this item
The function to call when this action is triggered.
If not nil, whether the item's checkbox is checked.
Whether the item is enabled.
A key combo that will trigger the action.
A string that groups radio items together.
The title of the menu item.
Serializes this menu item into a format for the window manager.
The serialized version of this menu item
Triggers an incoming action on this item or a nested subitem.
The key of the item that was triggered
Whether an item triggered an action
Stores information about a single menu item.