zng_wgt_window

Function parent

source
pub fn parent(
    child: impl UiNode,
    parent: impl IntoVar<Option<WindowId>>,
) -> impl UiNode
Expand description

P Binds the parent window var with the property value.

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