Stephen George pisze:
Hi,
I am trying to get a treeview (with liststore model) to display rows in
different colors based on content in the list.
<cut>
Hi
Just try changing the order of foreground and foreground-set and it'll work.
column.add_attribute(mycell, 'foreground-set', COLUMN_MODIFIED)
column.add_attribute(mycell, 'foreground', COLUMN_FOREGROUND)
It seems that order of adding attributes does matter and first
foreground-set should be checked if it's True before foreground colour
is changed.
_______________________________________________
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/