customizing looks using CSS providers
- From: "D.H. Bahr" <dbahr uci cu>
- To: GTK Devel List <gtk-devel-list gnome org>
- Subject: customizing looks using CSS providers
- Date: Tue, 05 Mar 2013 15:25:20 -0500
Hello, everyone!
I'm setting a custom background through a GtkCssProvider, so in my css
file I have a rule:
GtkWindow {
background: url ("resource:///path/to/resource/background.png");
}
GtkWindow * {
background: none;
}
This works, but the thing is I want the image to be repeated, so I tried
to do this instead:
GtkWindow {
background: url ("resource:///path/to/resource/background.png")
repeat;
}
But then I get "Junk at end of value" on runtime. How do I fix this?
Also, how do I load an image from a gfile (loaded from a resource)? I'm
coding in Python.
Best regards
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]