Home
Docs
Install
OpenGLContext
bin
OpenGLContext.bin.keyboardevents
Demonstrate capture of keyboard and keypress events
Classes
class
TestContext
(
VRMLContext
GLUTInteractiveContext
):
OnInit
(
self
)
Scene set up and initial processing
OnKeyBoard
(
self ,
event = None
)
Choose a new mapped texture
OnKeyPress
(
self ,
event = None
)
Choose a new size