glutAddMenuEntry

Langue: en

Version: 166294 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)


BSD mandoc

NAME

glutAddMenuEntry - Append an item to the current menu.

LIBRARY

OpenGLUT - menus

SYNOPSIS

In openglut.h Ft void Fn glutAddMenuEntry const char *label int value

PARAMETERS

Bf Em
 label Ef
    Menu item text

Bf Em
 value Ef
    Menu item callback value

DESCRIPTION

Inserts a given ( Bf Sy
 label, Ef
  Bf Sy
 value) Ef
 pair into the current menu. Bf Sy
 label Ef
 is the text displayed in the menu; Bf Sy
 value Ef
 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)