How can I use CSS styling in a GTK # application?

How can I use CSS styling in a GTK # application? I heard that it is not possible to use CSS themes in GTK #, but after that I found this example of using CSS style in GTK # . In addition, I also found samples using CSS styles in a Banshee project (which uses GTK #). So how is this possible? I already tried to do the same in GTK #, but I did not find the CssProvider class. So, how can I find this class in GTK # or how can I use CSS styles in GTK #?

+4
source share
1 answer

CSS styling is a feature of GTK3.

GTK # GTK3 .

Xamarin ( ) , (Xamarin Studio/Mono Develop) GTK3. , GTK3 , , .

, CssProvider, GTK2, GTK3.

- GTK3 csharp bindings, : https://github.com/mono/gtk-sharp/releases

Xamarin Studio GTK3, :

  • GTK # , Xamarin Studio GTK2.
  • Visual Studio, GTK #
+1
source

All Articles