Skip to content
Discussion options

You must be logged in to vote

The function key are supported in the FocusScope. The text is Key.F1, Key.F2, ... (documented there https://slint.dev/releases/1.3.2/docs/slint/src/language/builtins/namespaces#key )
Also in Rust the special key codes are accessible trouch the Key enum: https://docs.rs/slint/latest/slint/platform/enum.Key.html which is convertible to char or string
Ctrl should work the same way. Unless the keys is already handled by the window manager.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Vadoola
Comment options

Answer selected by Vadoola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants