| | |
- Context
-
- GLUTContext(EventHandlerMixin, Context)
- EventHandlerMixin(EventHandlerMixin)
-
- GLUTContext(EventHandlerMixin, Context)
class GLUTContext(EventHandlerMixin, Context) |
| |
Implementation of Context API under GLUT
The DISPLAYMODE attribute of the class determines the
context format through a call to glutInitDisplayMode.
See glutInitDisplayMode documentation for allowed values. |
| |
- Background(self, mode=1) from Context
- DoEventCascade(self) from EventHandlerMixin
- Lights(self, mode=1) from Context
- OnDraw(self, *arguments) from Context
- OnInit(self) from Context
- OnRedisplay(self)
- windowing library has asked us to redisplay
- OnResize(self, width, height)
- ProcessEvent(self, event) from EventHandlerMixin
- Render(self, mode=1) from Context
- SwapBuffers(self)
- ViewPort(self, width, height) from Context
- Viewpoint(self, mode=1) from Context
- __init__(self, title='GLUT Render Context', size=(300, 300))
- addEventHandler(self, eventType, *arguments, **namedarguments) from EventHandlerMixin
- addEventManager(self, eventType, manager=None) from EventHandlerMixin
- addPickEvent(self, event) from Context
- addTransparentObject(self, object) from Context
- captureEvents(self, eventType, manager=None) from EventHandlerMixin
- getEventManager(self, eventType) from EventHandlerMixin
- getTimeManager(self) from EventHandlerMixin
- getViewPort(self) from Context
- glutOnCharacter(self, character, x, y) from EventHandlerMixin
- glutOnKeyDown(self, character, x, y) from EventHandlerMixin
- glutOnKeyUp(self, character, x, y) from EventHandlerMixin
- glutOnMouseButton(self, button, state, x, y) from EventHandlerMixin
- glutOnMouseMove(self, x, y) from EventHandlerMixin
- initializeEventManagers(self) from EventHandlerMixin
- setCurrent(self)
- Acquire the GL "focus"
- setupCallbacks(self)
- Setup the various callbacks for this context
- setupDefaultEventCallbacks(self) from Context
- shouldRedraw(self) from Context
- suppressRedraw(self) from Context
- triggerPick(self) from Context
- triggerRedraw(self, force=0) from Context
- unProject(self, x, y, z) from Context
- unsetCurrent(self) from Context
| |