glutVisibilityFunc man page
glutVisibilityFunc — Sets the Visibility callback for the current window.
OpenGLUT - deprecated
glutVisibilityFunc(void( *callback )( int status ));
Client hook for visibility changes.
OpenGLUT may call this function when your window's visbility status has changed.
can take on two values:
. If any pixel of your window (including descendants) is visible, your window is
The callback is bound to the
This is not a polling mechanism. You are only informed of transitions that OpenGLUT observes while your callback is in place.
This function appears to be superceded by glutWindowStatusFunc().
This callback is mutually exclusive of glutWindowStatusFunc().
Explore man page connections for glutVisibilityFunc(3).