GLUTDESTROYWINDOW

Section: C Library Functions (3)
Updated: LOCAL
Page Index

BSD mandoc
 

NAME

glutDestroyWindow - Destroy a window and associated subwindows  

LIBRARY

OpenGLUT - window  

SYNOPSIS

In openglut.h Ft void Fn glutDestroyWindow int windowID  

PARAMETERS

Bf Em
 windowID Ef
   Window identifier  

DESCRIPTION

After this function is invoked, the only further event that may be delivered for your window is the one for its destruction. All other events should be discarded.

Once a window has been destroyed, further attempts to use the window named by Bf Sy
 windowID Ef
 are undefined.  OpenGLUT generally tries to be sensible, and should not recycle the dead Bf Sy
 windowID, Ef
 but you should treat a destroyed window much like a pointer to deallocated memory and try not to use it.

 

SEE ALSO

glutCreateWindow(3)


 

Index

NAME
LIBRARY
SYNOPSIS
PARAMETERS
DESCRIPTION
SEE ALSO