[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Killing a pygame window



Hmm this is strange, in Win2K SP 1,
when I do a pygame.quit(), IDLE
freezes or does not repaint the
screen.  Not until I right click 
(left-click doesn't work) on the 
taskbar button corresponding to the 
IDLE window. Pygame.Quit()'s fault
or IDLE's fault?

> hi sy, and here i thought i was the only one to use
> the interactive python to run pygame. (although i do
> it for debugging, i have an excuse :] )
> 
> anyways, there is no way in SDL to close a display
> window without quitting the display subsystem.
> 
> in pygame this is easily done with pygame.display.quit()
> or just pygame.quit(). it is fine to go in and re-init
> any modules you quit.
> 
> although you must be careful when doing this because SDL
> will free a lot of structures that you still have python
> variables referencing. i've just noticing this by playing
> with python with the interactive prompt and am looking to
> see if something can be done





____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org