CentOS 7.0 - man page for glutmenustatefunc (centos section 3)
|Linux & Unix Commands - Search Man Pages
UNTITLED LOCAL UNTITLED
glutMenuStateFunc -- Deprecated variant of glutMenuStatusFunc()
OpenGLUT - deprecated
glutMenuStateFunc(void( *callback )( int status ));
callback Client menu status hook.
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, callback (if defined) will be called with
GLUT_MENU_IN_USE . Conversely, when moving from menu to non-menu status, callback (if
defined) will be called with GLUT_MENU_NOT_IN_USE .
This callback is bound to both the current window and the current menu .
Your callback is not actually called presently.
All times are GMT -4. The time now is 05:42 AM.