How to intercept window closing events? #1856
Unanswered
dibadibadiudiu
asked this question in
Q&A
Replies: 1 comment
-
|
You can hide the window decorations and make a custom titlebar, this way you have total control over whether your close button should hide or close the window. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Thank you for your attention,I hope hide the window when users click close,This is my code. It can't intercept the close event.🙏
OS:mac m1 bigsur
Beta Was this translation helpful? Give feedback.
All reactions