You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is limited support for keyboard shortcuts (mainly Button.shortcut). The main missing feature is keyboard shortcuts for ModelButtons inside PopoverMenu's.
General question to see if I'm understanding how shortcut works correctly:
Basically it's every time:
Create a controller
Define a scope for it (this widget, parent widget, global root widget (window?))
Create a shortcut struct out of hotkey button represented as string and its action (one of which can be a signal, defined as signal(<signalName>))
Register shortcut struct with controller object
Right?
That's just for my understanding of the entire thing.
Looking further though, would it be possible to generally enable global Shortcuts for all kinds of Widgets? Or rather, is there anything that speaks against that?
Activity
PhilippMDoerner commentedon Oct 8, 2023
General question to see if I'm understanding how shortcut works correctly:
Basically it's every time:
signal(<signalName>))Right?
That's just for my understanding of the entire thing.
Looking further though, would it be possible to generally enable global Shortcuts for all kinds of Widgets? Or rather, is there anything that speaks against that?