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

Re: [pygame] Starting Window Position



Ian Mallett wrote:
So I would have the original program start a new one that codes the alternate window?

The centering code, which is what I tested, works, but this doesn't:
os.environ['SDL_VIDEO_WINDOW_POS'] = 'value,value'

On 6/28/07, *Brian Fisher* <brian@xxxxxxxxxxxxxxxxxxx <mailto:brian@xxxxxxxxxxxxxxxxxxx>> wrote:

    You can only do that with multiple processes. It's one window per
    process for SDL.

    On 6/28/07, Ian Mallett <geometrian@xxxxxxxxx
    <mailto:geometrian@xxxxxxxxx>> wrote:
    > Awesome!  That works!  Thanks!  Just one more question
    though...  I want to
    > have two or more pygame windows running at the same time.  Can
    you do that?
    > Ian
    >



Do you make the os.environ call before calling pygame.init  ?

--
Lenard Lindstrom
<len-l@xxxxxxxxx>