Rechercher une page de manuel
glutCloseFunc
Langue: en
Version: 161559 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutCloseFunc - Window destruction callback.LIBRARY
OpenGLUT - windowcallbackSYNOPSIS
In openglut.h Ft void Fn glutCloseFunc void( *callback )( void )PARAMETERS
Bf Em
callback Ef
Client window destruction hook.
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
current window Ef
.
CAVEATS
This function is Bf Emexactly Ef
the same as glutWMCloseFunc(), which has been deprecated. This function should be used instead.
TODO
There needs to be some work to rationalize the behavior when a window is closed.SEE ALSO
glutDestroyWindow(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre