glutMenuStatusFunc

sets the global menu status callback.

Signature

glutMenuStateFunc( )-> void
glutMenuStateFunc( function )
Specify handler for GLUT 'MenuState' events
    def handler( (int) status ):
        return None
glutMenuStatusFunc( )-> void
glutMenuStatusFunc( function )
Specify handler for GLUT 'MenuStatus' events
    def handler( (int) status, (int) x, (int) y ):
        return None

Parameters

VariablesDescription
func
The new menu status (or state) callback function.

See Also

glutCreateMenu glutCreateWindow

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glutMenuStatusFunc
Glinter Core.py Lines: 621