pygame and wxpython

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

    #1

    pygame and wxpython

    I'm somewhat new to Python but not to programming.

    I just want to know if it's possible to have a SINGLE wxPython frame
    containing two sections where one will contain widgets and the other
    will host an animation done using PyGame.

    More specifically, I want to have a list of names of animations on the
    left and depending on what is selected, run the PyGame animation in the
    main area.

  • André

    #2
    Re: pygame and wxpython


    DK wrote:[color=blue]
    > I'm somewhat new to Python but not to programming.
    >
    > I just want to know if it's possible to have a SINGLE wxPython frame
    > containing two sections where one will contain widgets and the other
    > will host an animation done using PyGame.
    >
    > More specifically, I want to have a list of names of animations on the
    > left and depending on what is selected, run the PyGame animation in the
    > main area.[/color]

    I have not seen this done but you should note that both wxPython and
    Pygame run their own event loops - which can cause some serious
    problems.

    However, here's a link that may help you get started on trying to do
    what you're looking for.


    André

    Comment

    • Terry Reedy

      #3
      Re: pygame and wxpython


      "DK" <provato@gmail. com> wrote in message
      news:1148854384 .549915.135950@ j73g2000cwa.goo glegroups.com.. .[color=blue]
      > I'm somewhat new to Python but not to programming.
      >
      > I just want to know if it's possible to have a SINGLE wxPython frame
      > containing two sections where one will contain widgets and the other
      > will host an animation done using PyGame.
      >
      > More specifically, I want to have a list of names of animations on the
      > left and depending on what is selected, run the PyGame animation in the
      > main area.[/color]

      I am sure that some PyGamers have used pygame with wxpython. If you don't
      get an answer here, I suggest asking on the pygame list, gatewayed to
      gmane.comp.pyth on.pygame. (news.gmane.org )



      Comment

      Working...