Command Reference \ Menu Commands
addMenuItem | Adds a menu item to a menu.
addMenuSplitter | Adds a horizontal splitter to a menu.
createMenu | Creates a new menu and attaches it to a gadget or the main window.
createPopupMenu | Creates a new popup or context menu.
createSubMenu | Creates a new submenu and attaches it to an existing menu.
deleteMenu | Deletes a menu.
getMenuItemChecked | Retrieves whether or not a menu item is checked.
getMenuItemCount | Gets the number of items in a menu.
getMenuItemEnabled | Retrieves whether a menu item is enabled or disabled.
getMenuItemText | Retrieves the text of a menu item.
setMenuItemChecked | Checks or unchecks a menu item.
setMenuItemEnabled | Enables or disables a menu item.
setMenuItemRadio | Sets which item from a group is selected.
setMenuItemText | Sets the text of a menu item.
showPopupMenu | Shows a popup menu.