if i prevent a window from closing using the preventdefault
method of the closing event, my app no longer quits when a user
either enters command + q or quits from the menu. has anyone run
into this problem?
what i'm trying to do is prevent the window object from being
destroyed. im stopping the closing event and setting the visible
property to false. is there a better way to do this rather than
stopping the event.
On the Mac, you could listen for the exiting event and then
close the window programatically. I'm not sure how you will handle
this on Windows or Linux since you normally quit the app by closing
its main or last window.