GLUTCHANGETOSUBMENU
Section: C Library Functions (3)
Updated: LOCAL
Index
Return to Main Contents
BSD mandoc
NAME
glutChangeToSubMenu
- Replace a menu entry with a submenu.
LIBRARY
OpenGLUT - menus
SYNOPSIS
In openglut.h
Ft void
Fn glutChangeToSubMenu int item const char *label int subMenuID
PARAMETERS
Bf Em
item
Ef
Integer position down the list
Bf Em
label
Ef
Submenu item text
Bf Em
subMenuID
Ef
Submenu identifier
DESCRIPTION
Walks the list of the menu items and replaces
the numbered
Bf Sy
item
Ef
in the list with the
given submenu.
SEE ALSO
glutAddMenuEntry(3)
glutAddSubMenu(3)
glutChangeToMenuEntry(3)
glutRemoveMenuItem(3)