glutMenuStateFunc (3) - Linux Man Pages

glutMenuStateFunc: Deprecated variant of glutMenuStatusFunc()

NAME

glutMenuStateFunc - Deprecated variant of glutMenuStatusFunc()

LIBRARY

OpenGLUT - deprecated

SYNOPSIS

In openglut.h Ft void Fn glutMenuStateFunc void( *callback )( int status )

PARAMETERS

Bf Em
 callback Ef
    Client menu status hook.

DESCRIPTION

Broadly, OpenGLUT operates in two modes. At any given time, it is either in menu mode (with a popup menu display, possibly with subitems) or it is not.

When moving from non-menu to menu status, Bf Sy
 callback Ef
 (if defined) will be called with Bf Sy
 GLUT_MENU_IN_USE Ef
  Conversely, when moving from menu to non-menu status, Bf Sy
 callback Ef
 (if defined) will be called with Bf Sy
 GLUT_MENU_NOT_IN_USE Ef
 .

This callback is bound to Bf Em
 both Ef
  the Bf Li
 current window Ef
  and the Bf Li
 current menu Ef
 .

CAVEATS

Obsolete. Depcreated.

BUGS

Your callback is not actually called presently.

SEE ALSO

glutMenuStatusFunc(3)