The integration sample (at the bottom of the page link below) you
mentioned in your original post demonstrates the pygame/SDL paint in
any window feature (see the SDLPanel class)
http://wiki.wxpython.org/IntegratingPyGame
Even though that sample makes two windows (a top-level frame with a
child SD
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 ki
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 m
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
Concat
I think there is a way to do it; it is just messy. I think I might have
some code somewhere...
Ok, but is there any way to tell PyGame to paint any window, I mean by
passing the window handle to pygame.
hi,
Using pygame with wxpython is not supported. See this page for details:
http://www.pygame.org/wiki/Gui
cheers,
On Wed, Mar 5, 2008 at 4:01 PM, Sibtey Mehdi <
hi,
Using pygame with wxpython is not supported. See this page for details:
http://www.pygame.org/wiki/Gui
cheers,
On Wed, Mar 5, 2008 at 4:01 PM, Sibtey Mehdi <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi
>
> How to display pygame graphics within a wxpython window. I have
> tried the last