Re: Change background color in GtkTreeView
- From: Michael Cronenworth <mike cchtml com>
- To: gtk-app-devel-list gnome org
- Subject: Re: Change background color in GtkTreeView
- Date: Thu, 29 Nov 2012 08:39:32 -0600
Tomasz Jankowski wrote:
I'm working on UI for embedded system using GTK+ 2.24. I want to
change GtkTreeView background (area behind rows, which is by default white)
to match default color of window area (grey by default).
I retrieved GtkStyle associated with GtkWindow and looked for this
particular tint of gray color in GdkColor arrays in GtkStyle instance
("gb", "fg", "base" arrays). Then I assigned these colors to GtkTreeView
using gtk_wdget_modify_base(), but I was unable to find the same color. Any
idea?
The first array value of "bg" contained the background color of my window.
Worst case:
If you can get a screenshot of the window you can take a image app, such
as Gimp, and use the color picker tool.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]