[pygtk] Using pyGtk with Panda3D (threads, slicing up GTK)

Antoon Pardon Antoon.Pardon at rece.vub.ac.be
Tue May 29 19:17:14 WST 2007


On Wed, May 23, 2007 at 04:10:56PM +0200, Jeremy Morel wrote:
> Hi list !
> 
> I am trying to make pyGtk and Panda3D run together. Panda3D is a 3D engine
> (available at http://panda3D.org) which provide very basic Gui. I am
> therefore trying to use Gtk as an alternative (and much more powerful) Gui.
> 
> I thougth at first that I could run both Panda and gtk in two different
> threads. But it appears that Panda will only run if it is in the main thread
> (it is said in the documentation) and that Gtk doesn't run "normally" in a
> non-main thread.

I only have limited experience with gtk not running in the main thread,
but it didn't cause any problems. But I only work on linux and I heard
that on windows it could indeed be a problem.

-- 
Antoon Pardon


More information about the pygtk mailing list