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

Re: [pygame] pygame.QUIT event



On Sun, 2006-10-08 at 03:41 -0700, Jacob Hartline wrote:
> I'm curious to know all the ways the pygame.QUIT event can be
> generated. I know about clicking X on a pygame window. I know about
> placing the event on the queue. Are there any other ways?

Different platforms have different ways of closing an application. For
example, alt-f4 on windows will send the QUIT event to pygame. Most
systems allow you to choose from a menu after clicking alt-space on the
window.