Coloring a cell renderer for new treeitems



Hi All,
I have an application which has a TreeView/TreeStore.

There is a cell renderer text field in each row. I have  a requirement in which newly added
tree items[text fields] are colored in a different color than the existing ones. I understand
that the foreground 'color' properties can be set on the cellrenderer, but however, it works
for all the rows.

Newly added tree items are added in the tree store and get a different iter. How do I get the
renderer for the newly added iters and change its foreground color?

Thanks
Ashwin





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