Replies: 1 comment 1 reply
-
You can listen to the window's events with https://docs.rs/dioxus-desktop/0.6.0-alpha.2/dioxus_desktop/fn.use_wry_event_handler.html, but dioxus currently doesn't expose a way to prevent the default behavior |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a desktop application built with dioxus, the user should confirm the action before closing the window? How can we listen to window event? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions