Re: colors and tool buttons/menu items
- From: Jan-Marek Glogowski <glogow fbihome de>
- To: Marisa DeMeglio <marisa dinf ne jp>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: colors and tool buttons/menu items
- Date: Fri, 6 Aug 2004 20:19:32 +0200 (CEST)
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]