On 6/30/05, Muhammad Ali <
[EMAIL PROTECTED]> wrote:
Hi,
Can anyone point me to an example where a multi-column tree-view is created and populated from a liststore?
Currently I think I am doing everything right but I get the same value in all of my columns. For example:
temp.append(item[0])
temp.append('')
temp.append('')
temp.append(str(item[1]))
self.liststore.append (temp)
whatever is in item[0] gets to all the columns.
I tried creating the liststore as:
self.liststore = gtk.ListStore ( gobject.TYPE_STRING)
and as:
self.liststore = gtk.ListStore ( gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING, gobject.TYPE_STRING)
They both behave the same. Which one should be done?
Thanks...
Ali
_______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
