Skip to content

KeyboardModifiers

The modifier keys held down during a simulated click, for example to test shift-click selection:

item.single_click(PointerEventButton.Left, KeyboardModifiers(shift=True))

The modifiers need Slint 1.19 or newer. Older versions ignore them and click without modifiers.


© 2026 SixtyFPS GmbH