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

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





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