Re: [pygame] Shutting down the video screen

2009-08-17 Thread RB[0]
Yes, you just destroy it then restart it, ie: screen = pygame.display.set_mode(size, flags) pygame.display.quit() screen = pygame.display.set_mode(size, flags) On Mon, Aug 17, 2009 at 5:17 PM, Peter Chant wrote: > On Friday 14 August 2009, René Dudfield wrote: > > hi, > > > > you can call eg py

Re: [pygame] Shutting down the video screen

2009-08-17 Thread Peter Chant
On Friday 14 August 2009, René Dudfield wrote: > hi, > > you can call eg pygame.display.quit() > Similar question from myself. Any way of just temporarily hiding the display and then restoring it later? I.e. a hypothetical: pygame.display.hide() #Do some stuff . . . pygame.display.unhide()

Re: [pygame] Shutting down the video screen

2009-08-14 Thread Tyler Laing
Thanks, that will help. :) On Fri, Aug 14, 2009 at 10:58 AM, René Dudfield wrote: > hi, > > you can call eg pygame.display.quit() > > > > On Fri, Aug 14, 2009 at 7:44 PM, Tyler Laing wrote: > > Hello all, > > > > I'm wondering how I would make the window that pops up from > > sdl_setvideomode, g

Re: [pygame] Shutting down the video screen

2009-08-14 Thread René Dudfield
hi, you can call eg pygame.display.quit() On Fri, Aug 14, 2009 at 7:44 PM, Tyler Laing wrote: > Hello all, > > I'm wondering how I would make the window that pops up from > sdl_setvideomode, go away, for example when I stop a playing video? > > -Tyler > > -- > Visit my blog at http://oddco.ca/z

[pygame] Shutting down the video screen

2009-08-14 Thread Tyler Laing
Hello all, I'm wondering how I would make the window that pops up from sdl_setvideomode, go away, for example when I stop a playing video? -Tyler -- Visit my blog at http://oddco.ca/zeroth/zblog