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

[pygame] Window positions



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 ?