Re: Colors in a tree view
- From: "David M. Cook" <dave davidcook org>
- To: gtk-app-devel-list gnome org
- Subject: Re: Colors in a tree view
- Date: Mon, 29 Aug 2005 02:21:12 -0700
On Mon, Aug 29, 2005 at 10:56:11AM +0200, Arne Caspari wrote:
I want to change the color of the text in single entries of a tree view.
Does anybody know how to do this?
When a TreeViewColumn you can specify a column of your model to be
used to set the "foreground" property of the CellRenderer, or -- the method
I prefer -- specify a data func for the TreeViewColumn and directly set the
"foreground" property of the renderer in the data func.
The pygtk tutorial does a great job of covering all this. Is there a
similar doc for C somewhere?
http://pygtk.org/pygtk2tutorial/ch-TreeViewWidget.html
Dave Cook
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]