There is a C++ example (How to use CssStyleProvider in Gtkmm3 ) that shows: widget.get_style_context() However there is no such method available for Widgets in gtk#. I'm just not connecting the dots between a CssProvider and the target widget to which it should be applied. Getting tripped up by the inability to obtain the StyleContext.What I'm ultimately after is the ability to make a MenuBar transparent via a CssProvider using this technique (first in answers): How do I really make a GTK+ 3 GtkLayout transparent/draw theme background?
Asked
Active
Viewed 73 times
0
-
The default Mono install with GTK# is for 2.x not 3.x, you can access 3.x via nuget or source : https://github.com/mono/gtk-sharp – SushiHangover Mar 21 '17 at 04:09
-
Yes I know - I'm using Gtk3. – nbi Mar 21 '17 at 06:39
-
1Child opacity cannot override the parent container's opacity. So much for that try. Sigh. :-) – nbi Mar 21 '17 at 16:41