Name

glutRemoveMenuItem - remove the specified menu item.

Python Specification

glutRemoveMenuItem
	glutRemoveMenuItem(item) -> None

C Specification

void glutRemoveMenuItem(int entry);

Parameters

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)  inclu-
sive.  Menu  items  below the removed menu item are renum-
bered.

See Also

glutAddMenuEntry,  glutAddSubMenu,  glutChangeToMenuEntry,
glutChangeToSubMenu

Author

Mark J. Kilgard (mjk@nvidia.com)

:: Documentation :: References :: GLUT ::
:: Index (n/a) ::