glutChangeToSubMenu (3) - Linux Man Pages

glutChangeToSubMenu: Replace a menu entry with a submenu.

NAME

glutChangeToSubMenu - Replace a menu entry with a submenu.

LIBRARY

OpenGLUT - menus

SYNOPSIS

In openglut.h Ft void Fn glutChangeToSubMenu int item const char *label int subMenuID

PARAMETERS

Bf Em
 item Ef
      Integer position down the list

Bf Em
 label Ef
     Submenu item text

Bf Em
 subMenuID Ef
 Submenu identifier

DESCRIPTION

Walks the list of the menu items and replaces the numbered Bf Sy
 item Ef
 in the list with the given submenu.