[pygtk] Using pyGtk with Panda3D (threads, slicing up GTK)
Jeremy Morel
morel.jeremy at gmail.com
Tue May 29 19:44:19 WST 2007
I forgot to say that I solved my problem. I had a subroutine which was
blocking the execution of the thread (because of a Queue.get() with the
"nowait"). I edited it (there was an error) by chance, and it works now
great.
Sorry to have bothered you with that.
On 29/05/07, Antoon Pardon <Antoon.Pardon at rece.vub.ac.be> wrote:
>
> 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
> _______________________________________________
> pygtk mailing list pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.daa.com.au/pipermail/pygtk/attachments/20070529/fd6a93bb/at=
tachment.htm
More information about the pygtk
mailing list