Name

glutSetWindow  -  sets the current window; glutGetWindow -
returns the identifier of the current window.

Python Specification

glutGetWindow
	glutGetWindow() -> None
glutSetWindow
	glutSetWindow() -> None

C Specification

void glutSetWindow(int win);
int glutGetWindow(void);

Parameters

win       Identifier of GLUT window to  make  the  current
          window.

Description

glutSetWindow   sets  the  current  window;  glutGetWindow
returns the identifier of the current window. If  no  win-
dows exist or the previously current window was destroyed,
glutGetWindow returns zero.  glutSetWindow does not change
the  layer  in use for the window; this is done using glu-
tUseLayer.

See Also

glutCreateWindow, glutSetMenu

Author

Mark J. Kilgard (mjk@nvidia.com)

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