OpenGL.GLUT.special | index /build/buildd/pyopengl-3.0.0~b6/OpenGL/GLUT/special.py |
GLUT functions requiring special handling to provide Pythonic wrappers
Note:
GLUT callbacks are controlled by a flag in the platform module. The
GLUT_GUARD_CALLBACKS flag controls whether to wrap passed functions
with error-checking and context-validity checking code so that the
callbacks will only trigger if there is a valid context. This is done
so that systems such as Win32 will not continue running GLUT callbacks
after the system has exited.
Note:
This is not a problem with FreeGLUT on Linux, so Linux does not
add the extra overhead of the wrapper function.
Note:
This hack does *not* prevent hanging if there is no GLUT callback
being triggered. I.e. if you create a GLUT program that doesn't
explicitly call exit and doesn't call display or the like in a timer
then your app will hang on exit on Win32.
XXX the platform-specific stuff should be getting done in the
platform module *not* in the module here!
Modules | ||||||
|
Classes | ||||||||||||||||||||||||||
|
Functions | ||
|
Data | ||
GLUT = <CDLL 'libglut.so.3', handle 82e0858 at 838a80c> GLUT_GUARD_CALLBACKS = False INITIALIZED = False PLATFORM = <OpenGL.platform.glx.GLXPlatform object at 0x8377eac> __file__ = '/build/buildd/pyopengl-3.0.0~b6/OpenGL/GLUT/special.py' __name__ = 'OpenGL.GLUT.special' glutButtonBoxFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b0572c> glutDialsFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b0576c> glutDisplayFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b057cc> glutEntryFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b057ec> glutIdleFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b0586c> glutJoystickFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b0588c> glutKeyboardFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b058cc> glutKeyboardUpFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b0590c> glutMenuStateFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b0598c> glutMenuStatusFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b059ac> glutMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b059ec> glutMouseFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05bec> glutOverlayDisplayFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b059cc> glutPassiveMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05c2c> glutReshapeFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05ecc> glutSpaceballButtonFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05c4c> glutSpaceballMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05c0c> glutSpaceballRotateFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05dac> glutSpecialFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05dec> glutSpecialUpFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05e0c> glutTabletButtonFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05dcc> glutTabletMotionFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05d4c> glutTimerFunc = <OpenGL.GLUT.special.GLUTTimerCallback object at 0x8b05e2c> glutVisibilityFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05e6c> glutWindowStatusFunc = <OpenGL.GLUT.special.GLUTCallback object at 0x8b05e4c> log = <logging.Logger instance at 0x8b0544c> |