GLUTCHANGETOMENUENTRY

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

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().

 

SEE ALSO

glutAddMenuEntry(3) glutAddSubMenu(3) glutChangeToSubMenu(3) glutRemoveMenuItem(3)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
SEE ALSO