Re: Overriding CSS style

2018-04-19 Thread Eric Cashon via gtk-app-devel-list
Hi Yannick, You have some options here. You can set a priority with https://developer.gnome.org/gtk3/stable/GtkStyleContext.html#gtk-style-context-add-provider with CSS. If you want to just stick with drawing in C, connect your "draw" handler for the window. If you need a pixbuf you can use

Gtk+-2.0 stylish coding

2018-04-19 Thread Joël Krähemann
Hi, I do Gtk+-2.0 stylish coding. Any suggestions on changes on code are appreciated? I would love to get feedback for following code style: http://git.savannah.nongnu.org/cgit/gsequencer.git/tree/ags/audio/ags_audio.c?h=2.0.x http://git.savannah.nongnu.org/cgit/gsequencer.git/tree/ags/audio/ags

Re: Overriding CSS style

2018-04-19 Thread Lucky B.C
Did you run gtk3-demo > Theming > ... Animated Backgrounds ...? On Wed, Apr 18, 2018 at 4:45 AM, Yannick POTIN wrote: > Hello everyone, > > I'm testing the style capabilities of GTK+, and after being amazed by the > availability of CSS, I couldn't find anything in the documentation about > modif

Overriding CSS style

2018-04-19 Thread Yannick POTIN
Hello everyone, I'm testing the style capabilities of GTK+, and after being amazed by the availability of CSS, I couldn't find anything in the documentation about modifying an existing rule. So, my questions are : is it possible to change the CSS « background-image » of my GTK+ main window usi