returns the modifier key state when certain callbacks were generated.


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.

OpenGLContext OpenGLContext/events/ Lines: 15, 18, 23, 24, 28
Glinter Lines: 519, 522, 525, 529
{LGPL} PyUI pyui/renderers/ Lines: 120
{LGPL} PyUI2 renderers/ Lines: 120
{LGPL} PyUI2 system/ Lines: 135
{LGPL} PyMT pymt/ui/window/ Lines: 18, 130