zng_wgt_window

Function state

Source
pub fn state(
    child: impl UiNode,
    state: impl IntoVar<WindowState>,
) -> impl UiNode
Expand description

P Binds the state window var with the property value.

The binding is bidirectional and the window variable is assigned on init.