Skip to main content

on_load

Function on_load 

Source
pub fn on_load(
    child: impl IntoUiNode,
    handler: Handler<WindowOpenArgs>,
) -> UiNode
Expand description

P Event just after the window loads.

This event notifies once per window, after the first layout and all WindowLoadingHandle have expired or dropped.

If the window has a renderer this event notifies only after the window is loaded with renderer in the view-process.

This property is the same as on_pre_window_load.