Content-type: text/html Manpage of glutSetWindow

glutSetWindow

Section: GLUT (3GLUT)
Updated: 3.7
Index Return to Main Contents
 

NAME

glutSetWindow - 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.
 

DESCRIPTION

glutSetWindow sets the current window; glutGetWindow returns the identifier of the current window. If no windows 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 glutUseLayer.  

SEE ALSO

glutCreateWindow, glutSetMenu  

AUTHOR

Mark J. Kilgard (mjk@nvidia.com)


 

Index

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 13:00:48 GMT, March 25, 2001