I admit it was a silly question. The positioning code works on my Windows system. I noticed the position is that of the client area.

Ian Mallett wrote:
Yes...

On 6/28/07, *Lenard Lindstrom* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    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* <[EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    > <mailto: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>>> wrote:
    >
    >     You can only do that with multiple processes. It's one
    window per
    >     process for SDL.
    >
    >     On 6/28/07, Ian Mallett < [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    >     <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>
    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
    <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>




--
Lenard Lindstrom
<[EMAIL PROTECTED]>

Reply via email to