glutSetWindow(3GLUT) GLUT glutSetWindow(3GLUT)NAMEglutSetWindow - sets the current window; glutGetWindow -
returns the identifier of the current window.
SYNTAX
void glutSetWindow(int win);
int glutGetWindow(void);
ARGUMENTS
win Identifier of GLUT window to make the current
window.
DESCRIPTIONglutSetWindow 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)
GLUT 3.7 1