manpagez: man pages & more
man glutSetWindow(3)
Home | html | info | man
glutSetWindow(3GLUT)                 GLUT                 glutSetWindow(3GLUT)




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  iden-
       tifier  of  the  current  window. If no windows exist or the previously
       current window was destroyed, glutGetWindow returns zero.   glutSetWin-
       dow does not change the layer in use for the window; this is done using
       glutUseLayer.


SEE ALSO

       glutCreateWindow(3), glutSetMenu(3)


AUTHOR

       Mark J. Kilgard (mjk@nvidia.com)



GLUT                                  3.7                 glutSetWindow(3GLUT)

Mac OS X 10.6 - Generated Thu Sep 17 20:20:43 CDT 2009
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.