Signature
glutMenuStateFunc(
function
)
Specify handler for GLUT 'MenuState' events def handler( (int) status ): return None
glutMenuStatusFunc(
function
)
Specify handler for GLUT 'MenuStatus' events def handler( (int) status, (int) x, (int) y ): return None
Parameters
Variables | Description |
---|---|
func |
The new menu status (or state) callback function.
|
See Also
glutCreateMenu glutCreateWindowSample 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