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

Re: [pygame] Resetting display



On Wed, Apr 4, 2012 at 16:28, Nathan Biagini <nathan.open@xxxxxxxxx> wrote:
> Hi,
>
> i'd like to know if i can, with pygame, reset the display stuffs. I
> mean, i start with a certain resolution and i'd like to set the
> fullscreen after a certain condition is raised, but i don't know how
> to do that? Is that possible?

Yes.

http://www.pygame.org/docs/ref/display.html#pygame.display.toggle_fullscreen
-- 
Radomir Dopieralski