glutChangeToSubMenu - Man Page

Replace a menu entry with a submenu.

Library

OpenGLUT - menus

Synopsis

#include <openglut.h>

void
glutChangeToSubMenu(int item, const char *label, int subMenuID);

Parameters


item

Integer position down the list


label

Submenu item text


subMenuID

Submenu identifier

Description

Walks the list of the menu items and replaces the numbered


item

in the list with the given submenu.

See Also

glutAddMenuEntry(3) glutAddSubMenu(3) glutChangeToMenuEntry(3) glutRemoveMenuItem(3)

Referenced By

glutAddMenuEntry(3), glutChangeToMenuEntry(3), glutRemoveMenuItem(3).