globalshortcuts #17
notthatgray
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
As in keybinds, I suppose you are talking about keybinds set in compositor settings. Spell does this by providing IPC support. You implement the IPCcontroller trait on your slint window and then you run that window. Then you use spell cli to specify the name of window the key and value(if required) you want to set. typically this send the message to be interpreted by your trait implementation. On implementation side of trait, there is generally invocation of callback(for running rust code) or function(for slint code) happening inside. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
are there plans to implement a global shortcut API, or is there a recommended way to handle keybinds within the framework currently?
Beta Was this translation helpful? Give feedback.
All reactions