Binding key presses to custom methods #310
Unanswered
jeffwright13
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Actually I just stumbled on the "test app" code in
...and there is also an |
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
-
Is there a way to bind keypresses (or any other action, actually) to custom methods? All the examples I've seen are bound to single actions, defined in quotes within an
await
statement. What I'd like to do is explore stringing several actions in a row, as defined in a method. For example, let's say I have individual bindings for keypresses "F", "M", E" and "P", each of which toggles (hids/unhides) its own widget. I'd like to define a series of actions to be executed on keypress "A" which would toggle all four of "F", "M", E" and "P".Beta Was this translation helpful? Give feedback.
All reactions