Thanks. I'd think that because of your 'if' that would only work for
Windows, but it works for Linux as well. Any particular reason for the
conditional?

On Nov 10, 2007 7:20 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:

> You can do it before:
> To place at a specific position:
>
> if sys.platform == 'win32':
>     os.environ['SDL_VIDEO_WINDOW_POS'] = '3,23'
>
> or, to center:
>
> if sys.platform == 'win32' or sys.platform == 'win64':
>     os.environ['SDL_VIDEO_CENTERED'] = '1'
>
> For some reason, it doesn't work for me--it worked when I had Python 2.4
> I've got a somewhat unusual hardware configuration, so it should work for
> you.
>
> Ian
>



-- 
You think you know when you learn, are more sure when you can write, even
more
when you can teach, but certain when you can program. ~Alan J. Perlis

Reply via email to