Re: Colour text in a Gtk2::CellRendererText in a Gtk2::TreeView
- From: Torsten Schoenfeld <kaffeetisch gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: Colour text in a Gtk2::CellRendererText in a Gtk2::TreeView
- Date: Wed, 20 Oct 2004 08:35:35 +0200
On Wed, 2004-10-20 at 14:40 +1000, Daniel Kasak wrote:
All of the colours I've tried so far have worked, but where is the list
of available colours?
The cell renderer passes the value on to gdk_color_parse, whose docs[1]
say:
| The text string can be in any of the forms accepted by XParseColor;
| these include name for a color from rgb.txt, such as DarkSlateGray, or
| a hex specification such as 305050.
So, take a look at XParseColor(3) and /usr/X11R6/lib/X11/rgb.txt.
--
HTH,
-Torsten
[1]
http://developer.gnome.org/doc/API/2.0/gdk/gdk-Colormaps-and-Colors.html#id2620550
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]