Skip to content

Keys

from slint import Keys
python

Represents a key binding created by the @keys(...) macro in Slint.

This is an opaque type. Use str to get a platform-native representation of the key binding (e.g. “Ctrl+A” on Linux/Windows, “⌘A” on macOS).

from_parts(parts: list[str]) -> Keys

© 2026 SixtyFPS GmbH