summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2001-03-15 09:09:06 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-03-15 09:09:06 +0000
commit140677943efbbc2b33ee5736da867e1239094294 (patch)
tree1f4e72e702b21560ae1297464fc39f79b7188b19 /gtk/gtktoolbar.h
parent3e9a5c8405371d76d3ea93898c3555e19dfa1690 (diff)
downloadgtk+-140677943efbbc2b33ee5736da867e1239094294.tar.gz
New functions gtk_toolbar_set_icon_size and gtk_toolbar_insert_stock to
2001-03-15 Alexander Larsson <alexl@redhat.com> * gtk/gtktoolbar.[ch]: New functions gtk_toolbar_set_icon_size and gtk_toolbar_insert_stock to add stock items to toolbars. * gtk/Makefile.am: Remove ../gdk/gdkim.h from gdk_headers.
Diffstat (limited to 'gtk/gtktoolbar.h')
-rw-r--r--gtk/gtktoolbar.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h
index 76702284d0..a64aa8eaaa 100644
--- a/gtk/gtktoolbar.h
+++ b/gtk/gtktoolbar.h
@@ -87,6 +87,7 @@ struct _GtkToolbar
GtkToolbarStyle style;
gint space_size; /* big optional space between buttons */
GtkToolbarSpaceStyle space_style;
+ GtkIconSize icon_size;
GtkTooltips *tooltips;
@@ -134,6 +135,19 @@ GtkWidget* gtk_toolbar_insert_item (GtkToolbar *toolbar,
gpointer user_data,
gint position);
+/* Stock Items */
+void gtk_toolbar_set_icon_size (GtkToolbar *toolbar,
+ GtkIconSize stock_size);
+GtkWidget* gtk_toolbar_insert_stock (GtkToolbar *toolbar,
+ const gchar *stock_id,
+ const char *tooltip_text,
+ const char *tooltip_private_text,
+ GtkSignalFunc callback,
+ gpointer user_data,
+ gint position);
+
+
+
/* Space Items */
void gtk_toolbar_append_space (GtkToolbar *toolbar);
void gtk_toolbar_prepend_space (GtkToolbar *toolbar);