1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutCreateMenu — Create a new menu.
5

LIBRARY

7     OpenGLUT - menus
8

SYNOPSIS

10     #include <openglut.h>
11
12     int
13     glutCreateMenu(void( *callback )( int value ));
14

PARAMETERS

16      callback     Client hook for the new menu.
17

DESCRIPTION

19     Create a menu with a callback bound to  callback,  and return the menu's
20     integer id.
21
22     When the user makes a selection from this menu,  callback  is invoked
23     with the parameter  value,  which comes from the (  label,   value)  pair
24     that is defined with glutAddMenuEntry().
25

SEE ALSO

27     glutAddMenuEntry(3) glutAddSubMenu(3) glutDestroyMenu(3)
28
29
30
31
32                                     Epoch
Impressum