glutRemoveMenuItem(3)

glutRemoveMenuItem3

Remove the specified menu item.

Usage


    

    
        

void glutRemoveMenuItem(int entry);

Arguments

entry

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

Overview

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.

Author

Mark J. Kilgard ([email protected])

From freeglut 3.8.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.