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

Re: [pygame] Window position




On Nov 1, 2008, at 1:50 PM, Luca wrote:

On Sat, Nov 1, 2008 at 9:46 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
Hi,

Call this:

import os
os.environ['SDL_VIDEO_CENTERED'] = '1'

before pygame stuff.

Cheers,
Ian


Thanks very much! But where I could find those type of undocumented infos?

In the documentation: ftp://ptah.lnf.kth.se/pub/misc/sdl-env-vars

--Noah