[pygtk] TreeView problem, really simple program
Chris Gonnerman
chris.gonnerman at newcenturycomputers.net
Wed Feb 3 20:59:35 WST 2010
Alessandro Dentella wrote:
> you forgot to specify the source of data for the CellRenderer, you do that
> when you create the column and is the index of the column in the model where
> is should read the data:
>
> self.programview.append_column(
> gtk.TreeViewColumn(allflds[i], gtk.CellRendererText(), text=i))
>
> namely you forgot to add text=i
>
Excellent, thanks! Rather stupid of me, eh?
-- Chris.
More information about the pygtk
mailing list