2016-07-01 15:02 GMT+02:00 Stefan Salewski <mail ssalewski de>:On Fri, 2016-07-01 at 12:06 +0200, Glus Xof wrote:
> Hi guys,
>
> I'm looking for the CSS sentence to change the GtkTreeView Bar
> Color... I
> mean the selection bar that is set like blue in Adwaita default theme
> (in
> gtk+-3.0 style).
>
> I tested unsuccesfully with
>
> GtkTreeView :selected {background-color: #...}
>
> But I don't see any reference documentation for that...
>
Google or GtkInspector may help.
For my gtk 3.18 this entry makes the blue bars black:The Stefan's proposed solution doesn't run for me.... and I don't understand why...The bar color remains blue... even if a gtk.css file at ~/.config/gtk-3.0 with the same exact content has been created.$ cat ~/.config/gtk-3.0/gtk.css
GtkTreeView row:selected {
background-color: #000;
}My library versions are:$ pkg-config --modversion gtk+-3.0
3.21.3$ pkg-config --modversion gtkmm-3.0
3.21.3And don't know what additional data you may need...Glus