[pygtk] weird behaviour on liststore append
Johannes Mockenhaupt
johannes.mockenhaupt at gmx.de
Thu Apr 8 15:45:09 WST 2010
On 04/08/2010 09:34 AM, Y Koray Kalmaz wrote:
> Hello,
>
> Apparently, I am not able to add a row to a liststore properly.
>
> When i try to append somethings to a 2 columned treeview with;
>
> self.lstr.append(["aaaa","bbbb"])
>
> it inserts a new row like this;
>
> | "bbbb" | "bbbb" |
>
> What is the problem? What am i doing wrong?
Try checking the code where you set up the TreeView and make sure you
connect the right columns in the model with the right columns in the
TreeView. What you see could be because you've assigned the first column
of the model to both columns in the TreeView.
Joe
More information about the pygtk
mailing list