toggle_fullscreen will work only under X11. I got this working with reloading pygame with new params. This is working fine for me as long you are in menu of a game so you don't care for a ingame stuff.
eg. 1. start a game with basic setup 2. change settings in game menu and save the config. 3. reload pygame module with new setup. working example: http://www.pygame.org/project-Dark+Gates-1522-2710.html No source avaliable atm, but if you are interested i can give you a code example no problem. Cheers On Wed, Apr 4, 2012 at 3:31 PM, Radomir Dopieralski <pyg...@sheep.art.pl> wrote: > On Wed, Apr 4, 2012 at 16:28, Nathan Biagini <nathan.o...@gmail.com> 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