glutdestroywindow(3) - Linux man page

Name

glutDestroyWindow - Destroy a window and associated subwindows

Library

OpenGLUT - window

Synopsis

#include <openglut.h>

void

glutDestroyWindow(int windowID);

Parameters

windowID 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 windowID are undefined. OpenGLUT generally tries to be sensible, and should not recycle the dead windowID, but you should treat a destroyed window much like a pointer to deallocated memory and try not to use it.

See Also

glutcreatewindow(3)

BSD Epoch BSD

Referenced By

glutclosefunc(3), glutcreatemenuwindow(3), glutcreatesubwindow(3), glutsetoption(3)