Uranium
Application Framework
|
Inherits UM.Event.Event.
Public Member Functions | |
def | __init__ |
def | key (self) |
Event regarding the keyboard. These events are raised when anything changes in the keyboard state. They keep track of the event type that was given by Qt, for instance whether it was a KeyPressEvent or a KeyReleaseEvent, and they keep track of which key it was. Only the special keys are tracked (Shirt, Space, Escape, etc.), not the normal letter keys.
def UM.Event.KeyEvent.key | ( | self, | |
int | |||
) |
Which key was pressed. Compare this with `KeyEvent.AltKey`, `KeyEvent.EnterKey`, etc.