KeyEvent
from slint.language import KeyEventpython
This structure is generated and passed to the key press and release callbacks of the FocusScope element.
Properties
Section titled “Properties”text: strThe unicode representation of the key pressed.
modifiers
Section titled “modifiers”modifiers: AnyThe keyboard modifiers active at the time of the key press event.
repeat
Section titled “repeat”repeat: boolThis field is set to true for key press events that are repeated, i.e. the key is held down. It’s always false for key release events.
© 2026 SixtyFPS GmbH