Logo Search packages:      
Sourcecode: python-gtkglext1 version File versions  Download package

def gtkgl::apputils::EmptyScene::key_release (   self,
  width,
  height,
  event 
)
Process key release event.
This function is invoked on 'key_release_event' signal.

Reimplemented from gtkgl::apputils::GLSceneKey.

Definition at line 523 of file apputils.py.

                                               :
        print "key_release (keyval=%d, state=%d)" \
              % (event.keyval, event.state)
        if event.keyval == gtk.keysyms.t:
            self.toggle_timeout()
        elif event.keyval == gtk.keysyms.Escape:
            gtk.main_quit()


Generated by  Doxygen 1.6.0   Back to index