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

Re: [pygame] Controlling Display Location on screen



Ian Mallett wrote:
Do this before making your window:

import os
os.environ['SDL_VIDEO_WINDOW_POS'] = str(position[0])+","+str(position[1])

Whether this works on double monitors, I don't know...
Ian
Now a FAQ. Thanks for the code snippet Ian.

--
Lenard Lindstrom
<len-l@xxxxxxxxx>