DEVELOPER'S TOOLBOX NAVIGATION: HUB |
Up |
Download |
Tree
Next: 6.9 glutAttachMenuglutDetachMenu
Up: 6 Menu Management
Previous: 6.7 glutChangeToSubMenu
glutRemoveMenuItem remove the specified menu item.
Usage
void glutRemoveMenuItem(int entry);
- entry
-
Index into the menu items of the current menu (1 is the topmost
menu item).
Description
glutRemoveMenuItem remove the entry menu item regardless of whether it
is a menu entry or sub-menu trigger.
entry must be between 1 and glutGet(GLUT_MENU_NUM_ITEMS)
inclusive.
Menu items below the removed menu item are renumbered.
Next: 6.9 glutAttachMenuglutDetachMenu
Up: 6 Menu Management
Previous: 6.7 glutChangeToSubMenu
Mark Kilgard
Fri Feb 23 08:05:02 PST 1996