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 <[email protected]> wrote: > 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() > > ? > > Or do I quit and then re-initialise the display? > > Thanks, > > Pete > > > > -- > Peter Chant > http://www.petezilla.co.uk >
