Functions | |
void | glutMenuStateFunc (void(*callback)(int status)) |
void | glutVisibilityFunc (void(*callback)(int status)) |
void | glutWMCloseFunc (void(*callback)(void)) |
|
Deprecated variant of glutMenuStatusFunc().
When moving from non-menu to menu status, callback (if defined) will be called with GLUT_MENU_IN_USE . Conversely, when moving from menu to non-menu status, callback (if defined) will be called with GLUT_MENU_NOT_IN_USE . This callback is bound to both the current window and the current menu.
|
|
Sets the Visibility callback for the current window.
The callback is bound to the current window.
|
|
Window destruction callback.
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 current window.
|