Query: glutclosefunc
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutCloseFunc -- Window destruction callback.LIBRARYOpenGLUT - windowcallbackSYNOPSIS#include <openglut.h> void glutCloseFunc(void( *callback )( void ));PARAMETERScallback Client window destruction hook.DESCRIPTIONWhen 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 .CAVEATSThis function is exactly the same as glutWMCloseFunc(), which has been deprecated. This function should be used instead.TODOThere needs to be some work to rationalize the behavior when a window is closed.SEE ALSOglutDestroyWindow(3) Epoch
Related Man Pages |
---|
glutvisibilityfunc(3glut) - redhat |
glutmousefunc(3) - centos |
glutsetcursor(3) - centos |
glutvisibilityfunc(3glut) - suse |
glutvisibilityfunc(3glut) - osx |
Similar Topics in the Unix Linux Community |
---|
Best performance UNIX just for HOST Virtualization? |
DB2 convert digits to binary format |
Docker learning Phase-I |
Controlling user input |
[TIP] Processing YAML files with yq |