[pygtk] help with TreeStore

Lawrence Oluyede l.oluyede at gmail.com
Sun Jun 11 06:07:11 WST 2006


On 6/10/06, Benjamin Montgomery <bmontgom at montynet.org> wrote:
> 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)

TreeStore constructor needs type specifiers. Try to pass
gtk.TYPE_OBJECT instead of myobject


-- 
Lawrence
http://www.oluyede.org/blog


More information about the pygtk mailing list