PyOpenGL
is a cross-platform open source
Python binding to OpenGL which provides a standard 2D and 3D graphics API.
PyOpenGL also supports GLU, GLE,
GLUT, WGL, and Togl.
glutGet - retrieves simple GLUT state represented by integers.
glutGetColor - retrieves a red, green, or blue component for a given color index colormap entry for the layer in use's logical
colormap for the current window.
glutGetModifiers - returns the modifier key state when certain callbacks were generated.