Scroll to navigation

GLUTCHANGETOSUBMENU(3) Library Functions Manual (local) GLUTCHANGETOSUBMENU(3)

NAME

glutChangeToSubMenuReplace 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)