glutAddMenuEntry - Man Page
Append an item to the current menu.
Library
OpenGLUT - menus
Synopsis
#include <openglut.h>
void
glutAddMenuEntry(const char *label, int value);
Parameters
label
Menu item text
value
Menu item callback value
Description
Inserts a given (
label,
value)
pair into the current menu.
label
is the text displayed in the menu;
value
is the identifier received by the callback when the item is selected.
The new entry is added to the end of the menu.
See Also
glutAddSubMenu(3) glutChangeToMenuEntry(3) glutChangeToSubMenu(3) glutRemoveMenuItem(3)