centos man page for glutclosefunc

Query: glutclosefunc

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutCloseFunc -- Window destruction callback.
LIBRARY
OpenGLUT - windowcallback
SYNOPSIS
#include <openglut.h> void glutCloseFunc(void( *callback )( void ));
PARAMETERS
callback 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 current window .
CAVEATS
This function is exactly 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) Epoch
Related Man Pages
glutreshapefunc(3glut) - redhat
glutmousefunc(3) - centos
glutpopwindow(3) - centos
glutsetcursor(3) - centos
glutswapbuffers(3) - centos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
CentOS7 restoring file capabilities
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
Please Welcome Dave Munro to the Moderator Team!