glutSetMenu(3)

glutSetMenu3

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 freeglut 3.8.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.