Re: Button Label Color

Benjamin Berg <[email protected]>
Newsgroups gmane.comp.gnome.themes
Message-ID <1190130747.25721.16.camel@localhost>
Hello,

On Tue, 2007-18-09 at 10:09 +0200, Iker Perez de Albeniz wrote:
> I'm trying to set the button label color using this code:
> 
> [SNIP]
> 
> but only change de focus rectangle color... i need to change the button
> text when the button is pressed because the button color changes.. any
> idea?

Please have a look at
http://live.gnome.org/GnomeArt/Tutorials/GtkThemes. The chapter on
"widget_class matches" contains an example about this issue. The problem
is probably that the "button" style only changes the GtkButton, but not
the label inside the button. This label is a separate widget in GTK+.

Note that the issue is not the "button" style in itself, but how it is
applied to the widgets with eg. widget or widget_class.

I hope that this answers your question. Feel free to keep asking if the
explanation is not clear ;-)

Benjamin

_______________________________________________
gnome-themes-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gnome-themes-list
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBG7/Q7JddvdAxOva4RAhUVAJ49youDdB8pvIukbpe/1aTT06YgEQCdGFou
ZNCeTMJbSARAUx18kRHz1FM=
=09yu
-----END PGP SIGNATURE-----
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.