Re: How can I use CSS styling in my GTK# application?
- From: Marcus Karlsson <mk acc umu se>
- To: don-prog <don-prog mail ru>
- Cc: gtk-devel-list gnome org
- Subject: Re: How can I use CSS styling in my GTK# application?
- Date: Wed, 5 Nov 2014 17:42:40 +0100
On Thu, Oct 30, 2014 at 04:23:50AM -0700, don-prog wrote:
How can I use CSS styling in my GTK# application? I heard before that it is
impossible to use CSS themes in GTK#, but after that I found this example
of using css styling in GTK#
<https://github.com/mono/gtk-sharp/blob/master/sample/GtkDemo/DemoCssBasics.cs>
. Besides this I found also the samples of using CSS styling in Banshee
project
<https://github.com/GNOME/banshee/blob/715777b2e9d8a4c3ba9e816c54ae1a104f4653c0/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs>
(which uses GTK#). So how is it possible? I already tried to do the same in
GTK#, but I didn't find CssProvider class. So how I can find this class in
GTK# or how I can using CSS styling in GTK#?
Which version of GTK# do you use? The GtkCssProvider class appeared in
GTK+ 3, so the reason why you can't find it might be that you're still
on GTK+ 2.
Marcus
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]