[pygtk] list as a gobject property

Christian Becke christianbecke at web.de
Wed Jul 30 04:55:02 WST 2008


Fallenblood schrieb:
> I'm subclassing GObject, and I need a list in __gproperties__, but
> haven't the slightest idea how to implement it, as there is no
> appropriate TYPE_*. Do I use TYPE_BOXED? How do the various TreeStores
> do it, anyway?

Don't know about the TreeStores, but try gobject.TYPE_PYOBJECT.


HTH,

Chris


More information about the pygtk mailing list