Hi! I'm trying to change the foreground color of a GtkButton using themes,
but label's color don't change...
My theme is like this one:
style "btnlbl" {
fg[NORMAL] = "#FFFFFF"
fg[PRELIGHT] = "#FFFFFF"
fg[ACTIVE] = "#FFFFFF"
fg[SELECTED] = "#FFFFFF"
fg[INSENSITIVE] = "#FFFFFF"
text[NORMAL] = "#FFFFFF"
text[PRELIGHT] = "#FFFFFF"
text[ACTIVE] = "#FFFFFF"
text[SELECTED] = "#FFFFFF"
text[INSENSITIVE] = "#FFFFFF"
}
widget_class "*.GtkButton.GtkLabel" style "btnlbl"
i already try other things like *GtkButton.*, GtkButton*, and fg, bg,
text... parameters; and all the others combinations i can figure out. In the
code i just call gtk_rc_parse() before create any widget... A weired thing
is that: when i load a theme that use images (pixmap engine) button's label
color turn to white!?!?! however there's any error in my "solution" hehehe.
i'm using gtk+-2.12.2.
Thanks for all!!!
--
View this message in context:
http://www.nabble.com/GtkButton-foreground-text-color.-tp15048943p15048943.html
Sent from the Gtk+ - General mailing list archive at Nabble.com.
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list