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

Re: [pygame] Window positions



import os
os.environ['ASDF']= 'lalala'

On 6/18/06, andrew baker <failrate@xxxxxxxxx> wrote:
Is it pygame.SDL_putenv(SDL_VIDEO_WINDOW_POS(0,0))?


On 6/17/06, Bo Jangeborg <bo@xxxxxxxxxxx> 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"