[pygtk] What is "gobject.TYPE_BOXED"?

2010-07-07 Thread Jason Heeris
Looking through the PyGTK gobject type constants[1], I noticed the gobject.TYPE_BOXED constant. What is it, exactly? Does it have a use in Python not already filled by simply using PYOBJECT? — Jason [1] http://library.gnome.org/devel/pygobject/stable/gobject-constants.html#gobject-type-constants

Re: [pygtk] What is "gobject.TYPE_BOXED"?

2010-07-07 Thread John Stowers
On Thu, Jul 8, 2010 at 2:48 PM, Jason Heeris wrote: > Looking through the PyGTK gobject type constants[1], I noticed the > gobject.TYPE_BOXED constant. What is it, exactly? Does it have a use > in Python not already filled by simply using PYOBJECT? It is used to represent the GBoxed type, which w

Re: [pygtk] idle_add vs. threads_enter/threads_leave

2010-07-07 Thread John Stowers
On Wed, 2010-07-07 at 09:26 +0800, Jason Heeris wrote: > Tim Evans wrote: > > GTK+ 2.14.4 > > PyGObject 2.14.2 > > PyGTK 2.12.1 > > Mine is > > GTK+ 2.20 > PyGObject 2.21.2 > PyGTK 2.17.1 > > A few things about your changes confused me - > > 1. You call glib.idle_add, but never called glib.thre

Re: [pygtk] idle_add vs. threads_enter/threads_leave

2010-07-07 Thread John Stowers
On Wed, 2010-07-07 at 08:00 +0800, Jason Heeris wrote: > Antoine Martin wrote: > > > It means that most of your code is not using threads at all, only the > > bits that are *slow* > > Those are the only bits that use threads anyway. > > > I've lost track of your particular issue though, so maybe