glutaddmenuentry(3) - Linux man page

Name

glutAddMenuEntry - 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)

BSD Epoch BSD

Referenced By

glutcreatemenu(3)