Re: Unable to set background color for button
Daniel Boles via gtkmm-list <[email protected]>
| Newsgroups | gmane.comp.gnome.gtkmm |
|---|---|
| Message-ID | <CAKChMKOhKCPwg=a0xNHxwTE7z0bECVQdzxjgTC6HLurYUb_PqA@mail.gmail.com> |
yes they do: """ Deprecated: 3.16: This function is not useful in the context of CSS-based rendering. If you wish to change the way a widget renders its background you should use a custom CSS style, through an application-specific Gtk::StyleProvider <https://developer.gnome.org/gtkmm/stable/classGtk_1_1StyleProvider.html> and a CSS style class. You can also override the default drawing of a widget through the Gtk::Widget::signal_draw() <https://developer.gnome.org/gtkmm/stable/classGtk_1_1Widget.html#ab0a7d34fe7ae7a83fdb1e1ddd223e8f4>signal, and use Cairo <http://www.cairographics.org/documentation/cairomm/reference/namespaceCairo.html> to draw a specific color, regardless of the CSS style. """ _______________________________________________ gtkmm-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gtkmm-list