-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support reading other properties than value? #6
Comments
value
?
@kafonek After I requested it, ipyfilechooser now inherits from |
@bryceschober for any kind of situation where you're working with non-standard widgets or have some complex validation (like multiple widgets being filled out), the best thing to do with ipython_blocking is define a function to block on. Basically at every step ( For
|
Yep, that ended up being simpler, thanks. |
Now my problem is that I want to use it with
from ipyfilechooser import FileChooser
, which doesn't inherit fromValueWidget
or have avalue
property or something:If there were some way to point at a property:
%block myobject.property
, and somehow introspect that it was indeed a value or property to do change detection on, then it could be a good general-purpose solution. Also,FileChooser
should probably actually inherit and provide avalue
, but that's another matter.Yes, I know I can write a change-detecting function, as per the workaround in #5:
...but I was hoping for an easy-to-read magic one-liner.
The text was updated successfully, but these errors were encountered: