Bases: InputEvent
Sent when the user hits a key on the keyboard.
- Bubbles
- Verbose
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The key that was pressed. |
required |
|
str | None
|
A printable character or |
required |
aliases
instance-attribute
¶
aliases = _get_key_aliases(key)
The aliases for the key, including the key itself.
character
instance-attribute
¶
A printable character or None
if it is not printable.