I assume that both the quit, and clicking the “red-ball” are firing the on_request_close event.
While not a perfect solution, you could use a popup in the on_request close that asks the user if they want to quit or minimize. I did something like this in an app, where if the user had not saved the file they were working with – they would be prompted to cancel (cancel the close request), save & exit (save the file and quit the app) or just exit the app.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/3f9011fd-50c5-493a-addd-3be8f49ccd4en%40googlegroups.com.