glutchangetomenuentry(3) - Linux man page

Name

glutChangeToMenuEntry - Replace a menu entry with an item.

Library

OpenGLUT - menus

Synopsis

#include <openglut.h>

void

glutChangeToMenuEntry(int item, const char *label, int value);

Parameters

item Integer position down the list

label Menu item text

value Menu item callback value

Description

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

See Also

glutaddmenuentry(3) glutaddsubmenu(3) glutchangetosubmenu(3) glutremovemenuitem(3)

BSD Epoch BSD