From: Lars K. <li...@su...> - 2010-02-08 02:48:51
|
Hi, first of all: I just started to use vpython for an existing project and I am impressed how easy it was to get a good output. But sadly I encountered a problem, when trying to display the vpython window along with a pygtk window. If I just show the vpython window (by commenting out the "gtk.main()" call for pygtk), everything runs fine. I can rotate and zoom the 3d view with the mouse. On the other hand I can disable the vpython initialization and the GTK window works fine. But if both are enabled, then the two windows show up as expected, but they don't get repainted and don't respond to any input. I need to send a kill signal to cancel the program. Now I am wondering, if vpython has a problem with a concurrently running GTK main loop. But I could not find any indications for this in vpython's documentation or by searching the web. Does anybody have any ideas about this? Below you find my currently installed versions of gtk and vpython. I am using Debian testing. cheers, Lars Versions: python-visual: 5.12 python-gtk2: 2.16.0 libgtk2.0-0: 2.18.6 |