On 12 December 2013 22:06, Hudson Ferreira <silvaferreira....@gmail.com> wrote:
>     col.pack_start( cell, expand=False)
>     col.set_attributes( cell, text=0)

You look up the values for the first colum in your view in the first
column of the model (column 0) - that's fine.

>     col.pack_start( cell, expand=False)
>     col.set_attributes( cell, text=1)

You look up the values for the seond column in your view in the second
column of the model (column 1).

>     col.set_attributes( cell, text=0)

But you use the first column of your model to display the third column
of the model - For your comments, this is not what you want. This
should almost certainly be col.set_attributes( cell, text=2)

-- 
Neil Muller
drnlmul...@gmail.com

I've got a gmail account. Why haven't I become cool?
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to