[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] how to display pygame graphics within a wxpython window
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] how to display pygame graphics within a wxpython window
- From: "Juan José Alonso." <kernel.no.found@xxxxxxxxx>
- Date: Wed, 5 Mar 2008 17:05:36 +0100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 05 Mar 2008 11:05:41 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=twaPKQnw/ToItsGPZQPgHnwgu9bMiuJvwNzaUzEVx6o=; b=ebo17auprndcEdRrYINFNe/AhUbqaISAX5XvzCM/dT6d6LGUMl6Xo5XcEQpj76kGZi2ceQk7HgbjWxbOn4ANftX/LQDjRSh9EIXVwndoMqhIghMV0KA1owyjdQANiRc/ZgHTM6X4mXjgGzX5MW1otOA+NKiCU4y3Qs53o2IqoTg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=XymI/i1Tapd2VRvKFjo0Ldz7gqXtQYTNSK/8VxgyzHBV8sYM0iJ0kf/1NjhRn3FC0Xcn9eSeakP+34ZqRDo3ka+sbnsgk5ZqtUyDZD89SHP/Ie4nk8JZzdL/x3B1XmEfZIB5yVAW2AgWmFbW8H2jP7R/XMNpyWiRCIkGDh0yvXk=
- In-reply-to: <47CEBD15.4000000@xxxxxxxxxxxx>
- References: <041401c87eb2$323a7730$5fc513ac@xxxxxxxx> <47CEBD15.4000000@xxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
can check the motherhamster project in the pygame forge, it use wx.
http://www.pygame.org/project/657/?release_id=1139
2008/3/5, Joan Planas Illas <joan.planas@xxxxxxxxxxxx>:
En/na Sibtey Mehdi ha escrit:
>
>
>
>
>
> Ok, but is there any way to tell PyGame to paint any window, I mean by
> passing the window handle to pygame.
>
Try this:
os.environ['SDL_WINDOWID'] = window_id
--
Joan Planas Illas
Dpto I+D | R&D department
joan.planas@xxxxxxxxxxxx
Skype id: joanplanaspv
Concatel Vanture Team
Avda. Ports d'Europa, 100 · 08040 Barcelona (Spain)
tel. +34.93.567.97.10 (ext 120) - fax +34.93.567.97.11
http://www.concatel.com
http://www.vanture.net
--
Juan José Alonso. KarlsBerg.
eMail: kernel.no.found@xxxxxxxxx
MSN: kernel.no.found@xxxxxxxxx