Re: GtkTreeView color question
- From: Paul Davis <paul linuxaudiosystems com>
- To: Kalap kabat <kalap kabat freemail hu>
- Cc: gtk-list gnome org
- Subject: Re: GtkTreeView color question
- Date: Sun, 12 Nov 2006 16:18:15 -0500
On Sun, 2006-11-12 at 20:33 +0000, Kalap kabat wrote:
> [sorry for the previous one, I sent it unfinished]
>
> kalap kabat <kalap.kabat <at> freemail.hu> writes:
> >
> > Where can I change the background color of a selected item in
> > an unfocused GtkTreeView? I don't like that gray color when
> > the treeview is unfocused.
> >
> > I'm sure there is a style option for it somewhere, but I cannot
> > find it.
>
> Is there a documentation where standard colors used by GTK are described? Like
> those used by the treeview when drawing itself?
this is some i just figured out on friday (from a GTK RC file that we
use):
# non-standard way of coloring rows, sigh
GtkTreeView::even-row-color = { 0.64, 0.68, 0.54 }
GtkTreeView::odd-row-color = { 0.64, 0.68, 0.54 }
# fg is used to color the fg (text) of the column header button
fg[NORMAL] = { 0.80, 0.80, 0.70 }
fg[SELECTED] = { 0.80, 0.80, 0.70 }
fg[ACTIVE] = { 0.80, 0.80, 0.70 }
fg[PRELIGHT] = { 0.80, 0.80, 0.70 }
fg[INSENSITIVE] = { 0.80, 0.80, 0.70 }
# bg is used used to color the background of the column header button
bg[NORMAL] = { 0.30, 0.30, 0.35 }
bg[ACTIVE] = { 0.30, 0.30, 0.35 }
bg[PRELIGHT] = { 0.30, 0.30, 0.35 }
bg[INSENSITIVE] = { 0.30, 0.30, 0.35 }
bg[SELECTED] = { 0.30, 0.30, 0.35 }
# text is used to color the treeview row text
text[NORMAL] = { 0.80, 0.80, 0.70 }
text[SELECTED] = { 0.80, 0.80, 0.70 }
# base is used to color a treeview with no rows
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]