ocempgui is probably what you really want, although if you really to 
want pygame and wxpython to run together you can look at the source 
code from motherhamster here 
http://motherhamster.org/source/motherhamster/ particularly editor.py 
and editorconnection.py

By using asynchronous sockets you can get pygame and wxpython to work 
together in a reasonably reliable and cross-platorm way-- but be warned 
it is complicated.

Anyway, ocempgui is probably much more like what you are really looking 
for.

---
James Paige

On Thu, Apr 24, 2008 at 11:25:57AM +1000, Astan Chee wrote:
>    Hmm, Im stuck then. I need my game to have texboxes, comboboxes, labels
>    and various other text-input widgets. Can pygame do this easily as I do it
>    in wx? Im not sure how to use gtk or tk or even qt to integrate it with
>    pygame the way I want it to, but Im rather hesitant since Im not familiar
>    with it.
>    Any suggestions?
>    Thanks again
> 
>    Rene Dudfield wrote:
> 
>  hi,
> 
>  using two gui toolkits together often won't work.
>  http://pygame.org/wiki/gui
> 
>  Using wxpython with pygame is unsupported - since no one can seem to
>  get it working nicely.
> 
> 
>  cheers,
> 
> 
> 
>  On Thu, Apr 24, 2008 at 10:55 AM, Astan Chee <[EMAIL PROTECTED]> wrote:
>   
> 
>  Hi,
>   Im trying to put a pygame window as one of a tabs of a wxNotebook. I've
>  attached my code but somehow the pygame window doesnt seem to attach itself.
>  What am I doing wrong? or cant I do this/pygame doesnt allow it?
>   Im using wxpython 2.6.3.3 and pygame 1.7.1 on windows.
>   Thanks for any help
>   Astan
> 
>   --
>   "Formulations of number theory: Complete, Consistent, Non-trivial. Choose
>  two."
> 
> 
> 
>   Animal Logic
>   http://www.animallogic.com
> 
>   Please think of the environment before printing this email.
> 
>   This email and any attachments may be confidential and/or privileged. If
>  you are not the intended recipient of this email, you must not disclose or
>  use the information contained in it. Please notify the sender immediately
>  and delete this document if you have received it in error. We do not
>  guarantee this email is error or virus free.
> 
> 
>     
> 
>   
> 
>  --
>  "Formulations of number theory: Complete, Consistent, Non-trivial. Choose 
> two."
> 
>    [IMG]
> 
>    Please think of the environment before printing this email.
> 
>    This email and any attachments may be confidential and/or privileged. If
>    you are not the intended recipient of this email, you must not disclose or
>    use the information
>    contained in it. Please notify the sender immediately and delete this
>    document if you have received it in error. We do not guarantee this email
>    is error or virus free.

Reply via email to