glutSetMenu(3x)

glutSetMenu3x

Sets the current menu; glutgetmenu - returns the identifier of the current menu.

Usage


    

    
        

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

Arguments

menu

The identifier of the menu to make the current menu.

Overview

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.

Author

Mark J. Kilgard ([email protected])

From glut-dev 3.3-2 in Debian 1.3 (Bo). Parsed by carta from the page's man source.