glutSetMenu

Nom

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

Prototype

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

Paramètre

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.

Voir aussi

glutCreateMenu, glutSetWindow.