On 04/08/2010 09:45 AM, Johannes Mockenhaupt wrote:
> 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.

Sorry, I got mixed up myself, I meant that the second column of the 
model/liststore is erroneously connected to both the first and the 
second column of the TreeView.

Joe
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to