Tao.FreeGlut SDK Documentation

Glut.glutRemoveMenuItem Method 

Removes the specified menu item.

[Visual Basic]
Public Shared Sub glutRemoveMenuItem( _
   ByVal entry As Integer _
)
[C#]
public static void glutRemoveMenuItem(
   int entry
);

Parameters

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

Remarks

glutRemoveMenuItem remove the entry menu item regardless of whether it is a menu entry or sub-menu trigger. entry must be between 1 and Glut.glutGet(Glut.GLUT_MENU_NUM_ITEMS) inclusive. Menu items below the removed menu item are renumbered.

See Also

Glut Class | Tao.FreeGlut Namespace | glutAddMenuEntry | glutAddSubMenu | glutChangeToMenuEntry | glutChangeToSubMenu