Fwd: Unable to set background color for button

Daniel Boles via gtkmm-list <[email protected]>
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CAKChMKPb58BT8h0S_jLxooF7C2FqqkrGAtuor=b3X=2sGtXyJw@mail.gmail.com>
---------- Forwarded message ---------
From: Daniel Boles <[email protected]>
Date: Wed, 4 Mar 2020, 18:27
Subject: Re: Unable to set background color for button
To: Klaus Rudolph <[email protected]>


that is another typical 'gotcha'. you need to unset the background-image,
or just set the shorthand background property instead of only
background-color.

the default theme applies a background-image gradient, and image overrides
color.

see C GTK docs for CSS node/class info. i can't recall whether gtkmm's doc
conversion preserves that section.

_______________________________________________
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.