motherhamster doesn't integrate with wx in the way the poster is
asking about - it puts seperate top level wx windows in the same
process as the pygame window by either sharing the main message pump
with yield calls or by spawning a new thread for the wx's loop.

Also, the motherhamster approach kind of sucks on mac cause the mac is
not good at message pumps in threads and is not good at sharing
message loops either.

On Wed, Mar 5, 2008 at 8:05 AM, Juan José Alonso.
<[EMAIL PROTECTED]> wrote:
> 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 <[EMAIL PROTECTED]>:
>
> >
> >
> > 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
> > [EMAIL PROTECTED]
> > 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: [EMAIL PROTECTED]
>  MSN: [EMAIL PROTECTED]

Reply via email to