| glutSetMenu(3) | freeglut | glutSetMenu(3) |
NAME
glutSetMenu - sets the current menu; glutGetMenu - returns the identifier of the current menu.
SYNTAX
void glutSetMenu(int menu); int glutGetMenu(void);
ARGUMENTS
- The identifier of the menu to make the current menu.
DESCRIPTION
glutSetMenu sets the current menu; glutGetMenu returns the identifier of the current menu. If no menus exist or the previous current menu was destroyed, glutGetMenu returns zero.
SEE ALSO
glutCreateMenu, glutSetWindow
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
| April 2025 | freeglut |