glutSpecialFunc

sets the special keyboard callback for the current window.

Signature

glutSpecialFunc( )-> void
glutSpecialFunc( function )
Specify handler for GLUT 'Special' events
    def handler( (int) key, (int) x, (int) y ):
        return None

Parameters

VariablesDescription
func
The new special callback function.

See Also

glutSpecialUpFunc glutKeyboardFunc glutMouseFunc glutSpaceballButtonFunc glutButtonBoxFunc glutTabletButtonFunc glutGetModifiers

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.

glutSpecialFunc
OpenGLContext OpenGLContext/glutcontext.py Lines: 100, 102
OpenGL-Demo PyOpenGL-Demo/GLUT/gears.py Lines: 274
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson42.py Lines: 427
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson41.py Lines: 348
OpenGL-Demo PyOpenGL-Demo/NeHe/lesson45.py Lines: 517
Glinter Core.py Lines: 618
{LGPL} PyUI pyui/renderers/openglGlut.py Lines: 63
{LGPL} PyUI2 renderers/openglGlut.py Lines: 63
{LGPL} PyUI2 system/glutdevice.py Lines: 60