On Thu, Jul 8, 2010 at 2:48 PM, Jason Heeris <[email protected]> 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 wraps structures like
GdkRectangle or GtkColor (IIRC).

I can't think of a use outside of PyGObject, I think wrapped objects
are promoted to PyObjects when storing in things like a gtk.ListStore.
I suspect it is enumerated for completeness, you don't need to worry
about it.

John

>
> — Jason
>
> [1] 
> http://library.gnome.org/devel/pygobject/stable/gobject-constants.html#gobject-type-constants
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to