thanks, works great :)
os.environ['SDL_VIDEO_WINDOW_POS']="0,0"
os.environ['SDL_VIDEO_CENTERED']="center"
Rene Dudfield skrev:
import os
os.environ['ASDF']= 'lalala'
On 6/18/06, andrew baker <[EMAIL PROTECTED]> wrote:
Is it pygame.SDL_putenv(SDL_VIDEO_WINDOW_POS(0,0))?
On 6/17/06, Bo Jangeborg <[EMAIL PROTECTED]> wrote:
> in the SDL documentation there is the following text:
>
> />Note:/ If you want to control the position on the screen when
creating
> a windowed surface, you may do so by setting the environment variables
> >"SDL_VIDEO_CENTERED=center" or "SDL_VIDEO_WINDOW_POS=x,y". You can
set
> them via SDL_putenv.
>
> How do I give these variables to SDL via Pygame ?
>
--
Andrew Ulysses Baker
"failrate"