diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-30 00:47:21 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-30 00:47:21 +0800 |
commit | c46158a00cd6572504ded30c8a9d1ec1b468d07f (patch) | |
tree | 29aa716204dcd4db73bc2e4f9d433b9f00b8efa9 /lib/egg/eggtoolbutton.h | |
parent | 48b245e9205fc5a9a4745e8e0a3146d32a21f816 (diff) | |
download | gsoc2013-epiphany-c46158a00cd6572504ded30c8a9d1ec1b468d07f.tar gsoc2013-epiphany-c46158a00cd6572504ded30c8a9d1ec1b468d07f.tar.gz gsoc2013-epiphany-c46158a00cd6572504ded30c8a9d1ec1b468d07f.tar.bz2 gsoc2013-epiphany-c46158a00cd6572504ded30c8a9d1ec1b468d07f.tar.lz gsoc2013-epiphany-c46158a00cd6572504ded30c8a9d1ec1b468d07f.tar.xz gsoc2013-epiphany-c46158a00cd6572504ded30c8a9d1ec1b468d07f.tar.zst gsoc2013-epiphany-c46158a00cd6572504ded30c8a9d1ec1b468d07f.zip |
Update
2003-04-29 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/egg/egg-editable-toolbar.c:
* lib/egg/eggtoggletoolbutton.c:
* lib/egg/eggtoolbar.c:
* lib/egg/eggtoolbutton.c:
* lib/egg/eggtoolbutton.h:
Update
Diffstat (limited to 'lib/egg/eggtoolbutton.h')
-rw-r--r-- | lib/egg/eggtoolbutton.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/lib/egg/eggtoolbutton.h b/lib/egg/eggtoolbutton.h index 1c2071c54..9fb143116 100644 --- a/lib/egg/eggtoolbutton.h +++ b/lib/egg/eggtoolbutton.h @@ -42,13 +42,14 @@ struct _EggToolButton /*< private >*/ GtkWidget *button; - GtkWidget *box; - GtkWidget *label; - GtkWidget *icon; gchar *stock_id; - guint label_set : 1; - guint icon_set : 1; + gchar *label_text; + GtkWidget *label_widget; + GtkWidget *icon_widget; + GtkIconSet *icon_set; + + guint use_underline : 1; }; struct _EggToolButtonClass @@ -82,6 +83,12 @@ void egg_tool_button_set_icon_widget (EggToolButton *button, GtkWidget *icon); GtkWidget * egg_tool_button_get_icon_widget (EggToolButton *button); +void egg_tool_button_set_label_widget (EggToolButton *button, + GtkWidget *label_widget); +GtkWidget * egg_tool_button_get_label_widget (EggToolButton *button); + +/* internal function */ +gchar * _egg_tool_button_get_label_text (EggToolButton *button); G_END_DECLS |