For GTK+ >= 3.20, replace "GtkTreeView" with "treeview".
Ciao, Emmanuele. On Friday, 1 July 2016, Glus Xof <gtg...@gmail.com> wrote: > > > 2016-07-01 15:02 GMT+02:00 Stefan Salewski <m...@ssalewski.de > <javascript:_e(%7B%7D,'cvml','m...@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.3 > > And don't know what additional data you may need... > > Glus > > -- https://www.bassi.io [@] ebassi [@gmail.com]
_______________________________________________ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list