[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.QUIT event




On 10/8/06, Farai Aschwanden <fash@xxxxxxxxxx> wrote:
I dont know on what your question is based on. Do you want to control
an exit?

Of course. What if my app is run in fullscreen mode? Can the user do something to make pygame.QUIT happen in that situation?
 
By default and no windowed programs you can use: sys.exit() (dont
forget: import sys ) to quit the application.

Sure, dude. I already know how to program in Python. ;)