[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-devel
Subject: customizing looks using CSS providers
From: "D.H. Bahr" <dbahr () uci ! cu>
Date: 2013-03-05 20:25:20
Message-ID: 1362515120.1661.6.camel () nova-desktop
[Download RAW message or body]
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
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic