glutMenuStateFunc (3) - Linux Manuals
glutMenuStateFunc: Deprecated variant of glutMenuStatusFunc()
NAMEglutMenuStateFunc - Deprecated variant of glutMenuStatusFunc()
LIBRARYOpenGLUT - deprecated
SYNOPSISIn openglut.h Ft void Fn glutMenuStateFunc void( *callback )( int status )
DESCRIPTIONBroadly, 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,
This callback is bound to
BUGSYour callback is not actually called presently.