UNTITLED
LOCAL UNTITLED
NAME
glutCreateMenu -- Create a new menu.
LIBRARY
OpenGLUT - menus
SYNOPSIS
#include <openglut.h>
int
glutCreateMenu(void( *callback )( int value ));
PARAMETERS
callback Client hook for the new menu.
DESCRIPTION
Create a menu with a callback bound to callback, and return the menu's integer id.
When the user makes a selection from this menu, callback is invoked with the parameter value, which comes from the ( label, value)
pair that is defined with glutAddMenuEntry().
SEE ALSO
glutAddMenuEntry(3) glutAddSubMenu(3) glutDestroyMenu(3)
Epoch