Function i_slint_core::properties::set_state_binding
source ยท pub fn set_state_binding(
property: Pin<&Property<StateInfo>>,
binding: impl Fn() -> i32 + 'static,
)
Expand description
Sets a binding that returns a state to a StateInfo property