glutChangeToMenuEntry (3) - Linux Man Pages

glutChangeToMenuEntry: Replace a menu entry with an item.

NAME

glutChangeToMenuEntry - Replace a menu entry with an item.

LIBRARY

OpenGLUT - menus

SYNOPSIS

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

PARAMETERS

Bf Em
 item Ef
    Integer position down the list

Bf Em
 label Ef
   Menu item text

Bf Em
 value Ef
   Menu item callback value

DESCRIPTION

Walks the list of the menu items and replaces the numbered Bf Sy
 item Ef
 in the list with the given definition. Except that it replaces a pre-existing Bf Sy
 item, Ef
 this function is much like glutAddMenuEntry().