glutGet

retrieves simple GLUT state represented by integers.

Signature

glutGet( GLenum( state ) )-> int
glutGet( query ) -> <class 'ctypes.c_int'>
glutGet( GLenum(query) ) -> c_int

Parameters

VariablesDescription
state
Name of state to retrieve.

See Also

glutDeviceGet glutLayerGet glutGetColor glutGetWindow glutGetMenu glutGetModifiers glutExtensionSupported

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.

glutGet
OpenGLContext tests/glut_fullscreen.py Lines: 44, 45, 46, 47
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/conechecker.py Lines: 33, 33
OpenGL-Demo PyOpenGL-Demo/GLUT/tom/lorentz.py Lines: 74, 74
OpenGL-Demo PyOpenGL-Demo/proesch/nurbs/nurbs.py Lines: 142, 142
OpenGL-Demo PyOpenGL-Demo/proesch/bezier/bezier.py Lines: 89, 89
OpenGL-Demo PyOpenGL-Demo/proesch/stereo/stereoDemo.py Lines: 55, 55, 136, 136
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 248, 258, 259
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 289
Glinter Widget.py Lines: 169, 169, 170, 170
Glinter Core.py Lines: 430, 430, 460, 460
{GPL3} OpenGL-Programmable 01-direct.py Lines: 108, 108, 155, 155, 187, 187
{GPL3} OpenGL-Programmable 06-perpixel.py Lines: 212, 212, 259, 259, 286, 286
{GPL3} OpenGL-Programmable 09-gles2.py Lines: 256, 256, 313, 313, 340, 340
{GPL3} OpenGL-Programmable 03-array.py Lines: 119, 119, 166, 166, 198, 198
{GPL3} OpenGL-Programmable 10-gl3.2core.py Lines: 266, 266, 323, 323, 350, 350
{GPL3} OpenGL-Programmable 08-pbo.py Lines: 234, 234, 292, 292, 319, 319
{GPL3} OpenGL-Programmable 02-displaylist.py Lines: 117, 117, 164, 164, 196, 196
{GPL3} OpenGL-Programmable 05-shader.py Lines: 204, 204, 251, 251, 278, 278
{GPL3} OpenGL-Programmable 07-attrib.py Lines: 223, 223, 270, 270, 297, 297
{GPL3} OpenGL-Programmable 04-vbo.py Lines: 138, 138, 185, 185, 217, 217