-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Need to make it not possible to close window w/o killing process #47
Comments
This has very much been needed |
Well, this is maybe impossible to implement since the library depends on pygame which doesn't have this feature and also SDL2 (which pygame depends on) doesn't have this I think. |
I'm fine with making the close button do nothing. Also, it would be nice to have an enable function as well. |
Yes I can do that it's no problem. But gimme time, I can't do it today. Maybe it will come in the next release. |
Aight, fine with me. |
This feature is (pretty much) required for my game Dot. The entire game can be skipped via closing the window (which skips to the next level).
I'd prefer a method -something named like
window.disable_close()
-. It disables the close button like on error popups.I have considered directly interacting with
window.window
- although I will have to do some research on PyGame.For example, the feature request would make look like .
The text was updated successfully, but these errors were encountered: