[pygtk] help with TreeStore

Benjamin Montgomery bmontgom at montynet.org
Sun Jun 11 04:10:40 WST 2006


I need some help with TreeStore.  I'm trying to add an object that is
part of a module that I have written in C.  In my pygtk app I'm using:

gtk.TreeStore(gtk.TYPE_STRING, ..., myobject)

When this line gets executed, I get the error:

TypeError: could not get typecode from object

Does anyone know what I would need to add to my object to be able to put
it in to a treestore?

Thanks,
Ben

-- 
Benjamin Montgomery <bmontgom at montynet.org>



More information about the pygtk mailing list