Replies: 1 comment 2 replies
-
Have you looked at |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
I am currently using
App.bind()
to define dynamic bindings, but dynamic for the keys not in the dynamic action + check_action sense.In other words I'm providing a keybinding settings feature where users can choose what keys to use (for some actions).
Unless I'm missing something obvious using the BINDINGS class var is a no go for me since I'm using a context var for the settings which is set at runtime and not at import time.
(I copied the approach from posting)
using
App.bind()
is the only (clean) way for me now to define "dynamic" (as in customizable) bindings at runtime, so I'm advocating for either keeping it or expand the scope of dynamic actions to support this use case 😄Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions