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
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()
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
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
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