ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



glutDestroyWindow(3GLUT)                            GLUT                            glutDestroyWindow(3GLUT)



NAME
       glutDestroyWindow - destroys the specified window.

SYNTAX
       void glutDestroyWindow(int win);

ARGUMENTS
       win       Identifier of GLUT window to destroy.

DESCRIPTION
       glutDestroyWindow  destroys  the  window specified by win and the window's associated OpenGL context,
       logical colormap (if the window is color index), and overlay and related state  (if  an  overlay  has
       been  established).  Any  subwindows of destroyed windows are also destroyed by glutDestroyWindow. If
       win was the current window, the current window becomes invalid ( glutGetWindow will return zero).

SEE ALSO
       glutCreateWindow(3G), glutCreateSubWindow(3G), glutDestroyMenu(3G)


AUTHOR
       Mark J. Kilgard (mjk@nvidia.com)



GLUT                                                 3.7                            glutDestroyWindow(3GLUT)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.