---
name: "glutRemoveMenuItem"
section: "3x"
platform: "linux"
package: "glut-dev"
version: "3.3-2"
release: "Debian 1.3 (Bo)"
platforms: ["linux"]
url: "https://new.carta.tech/glutRemoveMenuItem/3x"
---

# glutRemoveMenuItem(3x)

remove the specified menu item.

## NAME

glutRemoveMenuItem - remove the specified menu item.

## SYNTAX

```

```

void glutRemoveMenuItem(int entry);

## ARGUMENTS

- *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.

## SEE ALSO

glutAddMenuEntry, glutAddSubMenu, glutChangeToMenuEntry, glutChangeToSubMenu

## AUTHOR

Mark J. Kilgard (mjk@sgi.com)
