[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Window positions
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Window positions
- From: "andrew baker" <failrate@xxxxxxxxx>
- Date: Sat, 17 Jun 2006 18:09:07 -0700
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Sat, 17 Jun 2006 21:09:17 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=gxo9F3EvzqK1ujMViZ9NHYb23JU0KO0XGmFzXLLPo7Yy2R+ddufcKggfS0s1PMLqxxQkIyoskGtsASg5s1cWLewRDJ3k4+tFU5LkvfiVuCwB/YOriDw5gj8WHRBX59u85720jGbeNVjsvHIQUyjYpIyT+d7DOx6xDOMYYHgufrQ=
- In-reply-to: <44949535.3060400@softwave.se>
- References: <44949535.3060400@softwave.se>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Is it pygame.SDL_putenv(SDL_VIDEO_WINDOW_POS(0,0))?
On 6/17/06, Bo Jangeborg <bo@xxxxxxxxxxx> wrote:
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 ?
--
Andrew Ulysses Baker
"failrate"