GLUTADDSUBMENU
Section: C Library Functions (3)
Updated: LOCAL
Index
Return to Main Contents
BSD mandoc
 
NAME
glutAddSubMenu
 - Append a submenu to the current menu.
 
LIBRARY
OpenGLUT - menus
 
SYNOPSIS
In openglut.h
Ft void
Fn glutAddSubMenu const char *label int subMenuID
 
PARAMETERS
Bf Em
 label
Ef 
     Submenu item text
Bf Em
 subMenuID
Ef 
 Submenu identifier
 
DESCRIPTION
Attaches an existing menu as a submenu of the current menu.
Bf Sy
 label
Ef 
 is the text used for the item in the menu.
Bf Sy
 subMenuID
Ef 
 is the identifier of an existing menu to be
appended as a submenu.
The submenu is added to the end of the menu.
 
SEE ALSO
glutCreateMenu(3)
glutAddMenuEntry(3)