Re: Coloring a cell renderer for new treeitems



On Tue, 2006-11-14 at 16:24 +0530, Ashwin Ramachandran wrote:

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?

Use the model's row-inserted signal.  The callback gets three arguments:
the model, and the path and the iter of the newly inserted row.

-- 
Bye,
-Torsten




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