Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

Event Window.KeyPress (gb.sdl2)

Event KeyPress ( )

This event is raised when a key is pressed.

Use the Key class to get information about the keyboard event.

You can't use the KeyPress event to deals with entered text, because it only manages single keystrokes.

Text input relies on keyboard layouts, key states and input methods, that are managed by the Text event.