glutaddsubmenu(3) - Linux man page

Name

glutAddSubMenu - 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

glutcreatemenu(3) glutaddmenuentry(3)

BSD Epoch BSD

Referenced By

glutchangetomenuentry(3), glutchangetosubmenu(3), glutremovemenuitem(3)