glutCloseFunc (3) Linux Manual Page
glutCloseFunc – Window destruction callback.
Library
OpenGLUT – windowcallback
Synopsis
In openglut.h Ft void Fn glutCloseFunc void( *callback )( void )
Parameters
Bf Em
Description
When a window is destroyed by user-action in traditional GLUT, the application terminates. In freeglut and OpenGLUT, the application can choose to persist and treat the window close event as a normal event. This callback is how that event is transmitted to the application.
This callback is bound to the Bf Li
Caveats
This function is Bf Em
Todo
There needs to be some work to rationalize the behavior when a window is closed.
