Function zng_wgt_window::events::on_window_open
source · pub fn on_window_open(
child: impl UiNode,
handler: impl WidgetHandler<WindowOpenArgs>,
) -> impl UiNode
Expand description
P
On window opened.
This event notifies once per window, after the window content is inited.
§Preview
You can preview this event using on_pre_window_open
.
Otherwise the handler is only called after the widget content has a chance to stop propagation.
§Async
You can use async event handlers with this property.