Re: Coloring a cell renderer for new treeitems
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Coloring a cell renderer for new treeitems
- Date: Tue, 14 Nov 2006 20:01:55 +0100
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]