glutSetWindow(3GLUT) | GLUT | glutSetWindow(3GLUT) |
glutSetWindow - sets the current window; glutGetWindow - returns the identifier of the current window.
#include <GLUT/glut.h>
void glutSetWindow(int win); int glutGetWindow(void);
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.
glutCreateWindow, glutSetMenu
Mark J. Kilgard (mjk@nvidia.com)
3.7 | GLUT |