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
Hi, I was wondering if it's currently possible to register Rust callbacks for execution when a property's value changes. I see that this is supported in Slint itself here.
And in looking at the slint_interpreter's ComponentInstance I see you can set the value of properties, and you can register custom implementations of callback's that are already defined in the slint file, but I don't see anything like a set_change_callback(prop_name: &str, ...)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I was wondering if it's currently possible to register Rust callbacks for execution when a property's value changes. I see that this is supported in Slint itself here.
And in looking at the
slint_interpreter
's ComponentInstance I see you can set the value of properties, and you can register custom implementations of callback's that are already defined in the slint file, but I don't see anything like aset_change_callback(prop_name: &str, ...)
If not currently possible, is this in scope?
Beta Was this translation helpful? Give feedback.
All reactions