glutVisibilityFunc

sets the visibility callback for the current window.

Signature

glutVisibilityFunc( )->
glutVisibilityFunc( function )
Specify handler for GLUT 'Visibility' events
    def handler( (int) state ):
        return None

Parameters

VariablesDescription
func
The new visibility callback function.

See Also

glutCreateWindow glutPopWindow glutWindowStatusFunc

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.

glutVisibilityFunc
OpenGL-Demo PyOpenGL-Demo/GLUT/glutplane.py Lines: 222
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 275
Glinter Core.py Lines: 627