glutAddSubMenu - Man Page
Append a submenu to the current menu.
Library
OpenGLUT - menus
Synopsis
#include <openglut.h
>
void
glutAddSubMenu
(const char *label, int subMenuID);
Parameters
label
Submenu item text
subMenuID
Submenu identifier
Description
Attaches an existing menu as a submenu of the current menu.
label
is the text used for the item in the menu.
subMenuID
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
Referenced By
glutAddMenuEntry(3), glutChangeToMenuEntry(3), glutChangeToSubMenu(3), glutCreateMenu(3), glutRemoveMenuItem(3).