Hi, ok, I'm answering my own question -- maybe this is also helpful for someone else:
Using custom stylesheets *does* work (although it still seems that ~/.gtk-3.0.css has no effect under Gnome3); but for some themes and Gnome3, setting "background-color" doesn't have any effect, but setting "background" seems to work. Python example, which works here: css = Gtk.CssProvider() css.load_from_data(""" GtkButton { background-color: #ff0000; background: #ff0000; } """) screen = Gdk.Screen.get_default() Gtk.StyleContext().add_provider_for_screen(screen, css, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION) Is there any documentation of this? Especially when to use "background-color" and when to use "background"? The "GtkCssProvider"-documentation only mentions "background-color". Roland _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list