1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutAddMenuEntry — Append an item to the current menu.
5

LIBRARY

7     OpenGLUT - menus
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutAddMenuEntry(const char *label, int value);
14

PARAMETERS

16      label     Menu item text
17
18      value     Menu item callback value
19

DESCRIPTION

21     Inserts a given (  label,   value)  pair into the current menu.   label
22     is the text displayed in the menu;  value  is the identifier received by
23     the callback when the item is selected.
24
25     The new entry is added to the end of the menu.
26

SEE ALSO

28     glutAddSubMenu(3) glutChangeToMenuEntry(3) glutChangeToSubMenu(3)
29     glutRemoveMenuItem(3)
30
31
32
33
34                                     Epoch
Impressum