Query: glutsetmenu
OS: mojave
Section: 3glut
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
glutSetMenu(3GLUT) GLUT glutSetMenu(3GLUT)NAMEglutSetMenu - sets the current menu; glutGetMenu - returns the identifier of the current menu.SYNTAX#include <GLUT/glut.h> void glutSetMenu(int menu); int glutGetMenu(void);ARGUMENTSmenu The identifier of the menu to make the current menu.DESCRIPTIONglutSetMenu 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 ALSOglutCreateMenu, glutSetWindowAUTHORMark J. Kilgard (mjk@nvidia.com)GLUT3.7 glutSetMenu(3GLUT)