pub fn on_pre_window_close_requested(
child: impl IntoUiNode,
handler: Box<dyn FnMut(&WindowCloseRequestedArgs) -> HandlerResult + Send>,
) -> UiNodepub fn on_pre_window_close_requested(
child: impl IntoUiNode,
handler: Box<dyn FnMut(&WindowCloseRequestedArgs) -> HandlerResult + Send>,
) -> UiNode