Re: colors and tool buttons/menu items



GtkLabel uses: style->text[state] for fg and style->base[state] for bg, so
I guess you have to use gtk_widget_modify_text.

Be aware, that you work with private data when changing those values
inside a GtkToolButton. When you change the GtkToolBar type, the internal
representation of the button changes.

Consider using gtk_tool_button_set_label_widget, so you don't get caught
by internal GtkToolButton changes

HTH

Jan-Marek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]