Re: Unable to set background color for button

Daniel Boles via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAKChMKPcfNdegHkfg3WDKiSnmzideM9C_63rHsTKZoGhabZVOA@mail.gmail.com>
On Wed, 4 Mar 2020, 18:35 Klaus Rudolph, <[email protected]> wrote:

>
>
> > see C GTK docs for CSS node/class info. i can't recall whether gtkmm's
> > doc conversion preserves that section.
>
> Can you point me to the docs? I searched a lot but did not find it.
>

just search for the C class name, e.g. *GtkButton*

https://developer.gnome.org/gtk3/stable/GtkButton.html


Thanks for the hint of "first unset..." . Is unsetting image done also
> with css or is that a method call?
>

in CSS. either add a line

*background-image: none*

or use the shorthand *background:* instead of *background-color:* as that
will achieve the same effect

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.