On Thu, Jul 8, 2010 at 05:56, John Stowers <john.stowers.li...@gmail.com> wrote:
> On Thu, Jul 8, 2010 at 2:48 PM, Jason Heeris <jason.hee...@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.

PyGObject uses it internally but I agree with John that it should be
of no use to users of PyGObject.

Regards,

Tomeu

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

Reply via email to