glutRemoveMenuItem(3GLUT) GLUT glutRemoveMenuItem(3GLUT)

glutRemoveMenuItem - remove the specified menu item.

#include <GLUT/glut.h>
void glutRemoveMenuItem(int entry);

Index into the menu items of the current menu (1 is the topmost menu item).

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.

glutAddMenuEntry, glutAddSubMenu, glutChangeToMenuEntry, glutChangeToSubMenu

Mark J. Kilgard (mjk@nvidia.com)

3.7 GLUT