pygame and wxpython

D

DK

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.
 
?

=?iso-8859-1?B?QW5kcuk=?=

DK said:
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.

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.
http://wiki.wxpython.org/index.cgi/IntegratingPyGame?highlight=(pygame)

André
 
T

Terry Reedy

DK said:
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.

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.python.pygame. (news.gmane.org)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,296
Messages
2,571,535
Members
48,281
Latest member
DaneLxa72

Latest Threads

Top