glutGetModifiers

returns the modifier key state when certain callbacks were generated.

Signature

glutGetModifiers( )-> int
glutGetModifiers( ) -> <class 'ctypes.c_int'>
glutGetModifiers(  ) -> c_int

See Also

glutSpecialFunc glutKeyboardFunc glutMouseFunc

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.

glutGetModifiers
OpenGLContext OpenGLContext/events/glutevents.py Lines: 15, 18, 23, 24, 28
Glinter Core.py Lines: 519, 522, 525, 529
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 120
{LGPL} PyUI2 renderers/openglGlut.py Lines: 120
{LGPL} PyUI2 system/glutdevice.py Lines: 135
{LGPL} PyMT pymt/ui/window/win_glut.py Lines: 18, 130