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

Re: [pygame] how to display pygame graphics within a wxpython window



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