diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-05-18 05:38:50 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-05-18 05:38:50 +0000 |
commit | 67f557226f8f96c7e7364ca3ace9f159cd19cefd (patch) | |
tree | 2966e26d315980e200304138ca019377cdeb2fc8 /gtk/gtktoolbutton.h | |
parent | 77f3189adc4cc609946715abd129ab24d89526d6 (diff) | |
download | gtk+-67f557226f8f96c7e7364ca3ace9f159cd19cefd.tar.gz |
Support named icons in tool buttons by adding a icon-name property.
2005-05-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtktoolbutton.h:
* gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name)
(gtk_tool_button_get_icon_name): Support named icons in
tool buttons by adding a icon-name property.
Diffstat (limited to 'gtk/gtktoolbutton.h')
-rw-r--r-- | gtk/gtktoolbutton.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktoolbutton.h b/gtk/gtktoolbutton.h index 8a78a11fb8..b7329a02f8 100644 --- a/gtk/gtktoolbutton.h +++ b/gtk/gtktoolbutton.h @@ -76,6 +76,9 @@ gboolean gtk_tool_button_get_use_underline (GtkToolButton *button); void gtk_tool_button_set_stock_id (GtkToolButton *button, const gchar *stock_id); G_CONST_RETURN gchar *gtk_tool_button_get_stock_id (GtkToolButton *button); +void gtk_tool_button_set_icon_name (GtkToolButton *button, + const gchar *icon_name); +G_CONST_RETURN gchar *gtk_tool_button_get_icon_name (GtkToolButton *button); void gtk_tool_button_set_icon_widget (GtkToolButton *button, GtkWidget *icon_widget); GtkWidget * gtk_tool_button_get_icon_widget (GtkToolButton *button); |