manpagez: man pages & more
man glutSetMenu(3)
Home | html | info | man
glutSetMenu(3GLUT)                   GLUT                   glutSetMenu(3GLUT)




NAME

       glutSetMenu  - sets the current menu; glutGetMenu - returns the identi-
       fier of the current menu.


SYNTAX

       void glutSetMenu(int menu);
       int glutGetMenu(void);


ARGUMENTS

       menu      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(3), glutSetWindow(3)


AUTHOR

       Mark J. Kilgard (mjk@nvidia.com)



GLUT                                  3.7                   glutSetMenu(3GLUT)

Mac OS X 10.6 - Generated Thu Sep 17 20:20:43 CDT 2009
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.