Andreas Rottmann <[EMAIL PROTECTED]> writes:
> Hi!
>
> I'm just porting an application from Gtk-- 1.2 to gnome-python from
> CVS. I want to use the new TreeStore/TreeView interface instead of
> CTree. However, when I want to append a row in the tree, it is added
> in the view, but the contents are not set/displayed.
>
> I use something like this code sequence:
>
> model = gtk.TreeStore(gobject.TYPE_STRING)
>
> view = gtk.TreeView(model)
> renderer = gtk.CellRendererText()
> column = gtk.TreeViewColumn("Connection", renderer)
try:
column = gtk.TreeViewColumn("Connection", renderer, text=0)
Thanks,
-Jonathan
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/