Next: 6.1 glutCreateMenu Up: GLUT APIversion 3 Previous: 5.5 glutShowOverlayglutHideOverlay

# 6 Menu Management

GLUT supports simple cascading pop-up menus. They are designed to let a user select various modes within a program. The functionality is simple and minimalistic and is meant to be that way. Do not mistake GLUT's pop-up menu facility with an attempt to create a full-featured user interface.

It is illegal to create or destroy menus, or change, add, or remove menu items while a menu (and any cascaded sub-menus) are in use (that is, popped up).

- 6.1 glutCreateMenu
- 6.2 glutSetMenu, glutGetMenu
- 6.3 glutDestroyMenu
- 6.4 glutAddMenuEntry
- 6.5 glutAddSubMenu
- 6.6 glutChangeToMenuEntry
- 6.7 glutChangeToSubMenu
- 6.8 glutRemoveMenuItem
- 6.9 glutAttachMenu, glutDetachMenu

Next: 6.1 glutCreateMenu Up: GLUT APIversion 3 Previous: 5.5 glutShowOverlayglutHideOverlay