Package pajammin :: Module input :: Class KeyPressListener
[show private | hide private]
[frames | no frames]

Class KeyPressListener

Listener --+    
           |    
_KeyListener --+
               |
              KeyPressListener


An event listener that reports key presses.

The event passed to the callback will define a key field, containing the key that was pressed, and a mod field, containing any modifiers that were pressed at the time.
Method Summary
    Inherited from Listener
  __cmp__(self, other)
  handle(self, event)
  start(self)
  stop(self)

Class Variable Summary
int event_type = 2                                                                     

Class Variable Details

event_type

Type:
int
Value:
2