glutSetMenu(3GLUT) GLUT glutSetMenu(3GLUT)

glutSetMenu - sets the current menu; glutGetMenu - returns the identifier of the current menu.

#include <GLUT/glut.h>
void glutSetMenu(int menu);
int glutGetMenu(void);

The identifier of the menu to make the current menu.

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.

glutCreateMenu, glutSetWindow

Mark J. Kilgard (mjk@nvidia.com)

3.7 GLUT