glutSetWindow

set/get the current window

Signature

glutGetWindow( )-> int
glutGetWindow( ) -> <class 'ctypes.c_int'>
glutGetWindow(  ) -> c_int
glutSetWindow( int( win ) )-> void
glutSetWindow( window )
glutSetWindow( c_int(window) ) -> None

Parameters

VariablesDescription
win
Identifier of GLUT window to make the current window.

See Also

glutCreateWindow glutSetMenu

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glutGetWindow
Glinter Core.py Lines: 808
glutSetWindow
OpenGLContext OpenGLContext/glutcontext.py Lines: 77, 134
OpenGL-Demo PyOpenGL-Demo/GLUT/molehill.py Lines: 40, 63
Glinter Core.py Lines: 806, 829
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 55
{LGPL} PyUI2 renderers/openglGlut.py Lines: 55
{LGPL} PyUI2 system/glutdevice.py Lines: 52