None as target_object for bindings #5691
rolfn
started this conversation in
Ideas / Feature Requests
Replies: 1 comment 1 reply
-
|
What would be the expected outcome? b = ui.button('OK')
ui.timer(0.1, lambda: b.set_enabled(input_1.value and input_2.value))From my point of view, a timer feels more readable and explicit than using a "bind" function with |
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.
-
A suggestion:
It would be good if it were possible to specify
Nonefor the first parameter of.bind_enabled_from,.bind_visibility, etc. (target_object). In this case, onlybackwardwould be functional. It would then be easy to implement something like the following:or
Forgive me if I've overlooked something simple.
Beta Was this translation helpful? Give feedback.
All reactions