summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbutton.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-05-18 05:38:50 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-05-18 05:38:50 +0000
commit67f557226f8f96c7e7364ca3ace9f159cd19cefd (patch)
tree2966e26d315980e200304138ca019377cdeb2fc8 /gtk/gtktoolbutton.h
parent77f3189adc4cc609946715abd129ab24d89526d6 (diff)
downloadgtk+-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.h3
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);