Re: Row color in GtkTreeView
| From: | Eduardo RBS | Date: | Mon, 13 Mar 2006 19:46:26 +0000 |
| Subject: | Re: Row color in GtkTreeView | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6786@lists.php.net to get a copy of this message | ||
2006/3/13, Christian Weiske <cweiske@cweiske.de>:
>
> > Can you give us an example because I do not understand what is the "cell
> > renderer resp."
> > Do you mean the CellRenderer Class ? I cannot see how to change the
> > color of a CellRenderer object.
> http://crisscott.com/2006/03/08/php-gtk-news-3/
Hi..
Thanks for the help... I get it working.. but.. all the TreeView is in one
color
I want each row (depending of the value) to be in one color...
like ... if age > 18 the row in blue.. but if the age<=18 the row is red...
ok?
with $cell_renderer->set_property I can only set the color of the all the
TreeView, but I want to set color of one row each time..
...
sorry my english...
--
[]'s
Eduardo RBS
http://linuxstok.sourceforge.net