wxPython and PyGame - do they play well together?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Erik  Bethke

    #1

    wxPython and PyGame - do they play well together?

    Hello All,

    I am having a great time with python and pygame, and last night I took
    a long look at the wxPython demo. I think that rocks as well.

    So now, my question is do wxPython and PyGame work together?

    How is the windows event loop managed? How is the display window
    managed?

    Is it possible to have some sort of master/slave relationship between
    the two?

    Is it possible that either could be dominant?

    Does this sound too weird?

    I appreciate any fingers pointing in any directions...

    Thank you,
    -Erik

  • Terry Reedy

    #2
    Re: wxPython and PyGame - do they play well together?


    "Erik Bethke" <erikbethke@gma il.com> wrote in message
    news:1106026599 .092269.292170@ c13g2000cwb.goo glegroups.com.. .[color=blue]
    > I am having a great time with python and pygame, and last night I took
    > a long look at the wxPython demo. I think that rocks as well.
    >
    > So now, my question is do wxPython and PyGame work together?[/color]

    I have no personal experience, but based on posts to the Pygame mailing
    list, also accessible via Google or as newsgroup thru Gmane (where I read
    it), the answer is yes. The subject of Pygame with guis has been discussed
    in the past couple of months. I recommend that you read the archives for
    the recent past and then join the list or subscribe via gmane or google.
    It is a low volume, low noise, list.

    Terry J. Reedy



    Comment

    • Erik  Bethke

      #3
      Re: wxPython and PyGame - do they play well together?

      Thank you,

      My apologies to all for insufficient googling....

      -Erik

      Comment

      • Erik  Bethke

        #4
        Re: wxPython and PyGame - do they play well together?

        After a touch more of exploration... actually from the wxPython demo's
        startup tips lead me over to the wxPython Wiki....

        Here I found this gem:

        http://wiki.wxpython.org./index.cgi/IntegratingPyGame

        Awesome. There is in fact some very tricky timing of the import
        statement for pygame

        -Erik

        Comment

        Working...