I see now. The interesting bit here is that with python2.3, *everything* is considered to be "an instance of" the object type -- even instances of classes that don't inherit from object.
>>> class Foo: pass
... >>> isinstance(Foo(), object)
True
>>> isinstance(1, object)
True
>>> isinstance({}, object)
True
I hadn't realized this initially, and I'm not sure it makes complete sense to me, but it sure makes this API a lot simpler. I'm left wondering now if you're allowed to specify `type' as a column type, though.
I haven't looked at the pygtk code for this but I am guessing that anything that doesn't map to one of the standard gtk datatypes will end up as a TYPE_PYOBJECT. At least, that's how *I* would have done it :-)
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
