Re: Colour rows of TreeView

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
you can color your row by setting 'cell-background' property of a renderer.
I usualy add another boolean column to my model, set the renderer'cell-background' property and connect 'cell-background-set' propertyof a renderer to the last column.
And since my explanation is far from perfect, you can see detailedexplanation here:http://scentric.net/tutorial/sec-treeview-col-whole-row.html
Hope it helps

2008/8/4 Marco Rocco <mr85mr@xxxxxxxxx>:> Hello,> if i have a TreeView already created with the respective model, i would to> colour some row reading the model, how i can do ?> <cid:part1.05000605.01010405@gmail.com>> _______________________________________________> gtk-list mailing list> gtk-list@xxxxxxxxx> http://mail.gnome.org/mailman/listinfo/gtk-list>


-- Tadej Borovšaktadeboro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux