[pygtk] What is "gobject.TYPE_BOXED"?
John Stowers
john.stowers.lists at gmail.com
Thu Jul 8 11:56:38 WST 2010
On Thu, Jul 8, 2010 at 2:48 PM, Jason Heeris <jason.heeris at gmail.com> 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 pygtk at daa.com.au
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://faq.pygtk.org/
More information about the pygtk
mailing list