Name

glutDestroyWindow - destroys the specified window.

Python Specification

glutDestroyWindow
	glutDestroyWindow(win) -> None

C Specification

void glutDestroyWindow(int win);

Parameters

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 glutDestroyWin-
dow. If win was the current  window,  the  current  window
becomes invalid ( glutGetWindow will return zero).

See Also

glutCreateWindow, glutCreateSubWindow, glutDestroyMenu

Author

Mark J. Kilgard (mjk@nvidia.com)

:: Documentation :: References :: GLUT ::
:: Index (n/a) ::