glutSetMenu -- sets the current menu; glutGetMenu - returns the identifier of the current menu.
void glutSetMenu (int menu); int glutGetMenu (void);
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.