[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Starting Window Position
Ian Mallett wrote:
When one starts a pygame window in windowed mode, the window pops up in
an unpredictable place on the screen. How do you set it to be at a
certain place?
SDL has some environment variables to give you "some" control over this.
You'll want to steer towards This one,
SDL_VIDEO_WINDOW_POS
set to "x,y" or "center"
This link has the most details,
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fenvvars