summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1997-12-23 06:11:36 +0000
committerArturo Espinosa <unammx@src.gnome.org>1997-12-23 06:11:36 +0000
commit104f72cf9534c1c4d3f5ac8bb45c2b1d8ec1576d (patch)
treebbac77d0088f9f19b56c1814a46a85fc60fcb78d /gtk/gtktoolbar.h
parent7bac5c59eb2c26dc5293125fd66442c7d8898d8f (diff)
downloadgtk+-104f72cf9534c1c4d3f5ac8bb45c2b1d8ec1576d.tar.gz
Added "orientation_changed" and "style_changed" signals to GtkToolbar.
Fixed some nits. - Federico
Diffstat (limited to 'gtk/gtktoolbar.h')
-rw-r--r--gtk/gtktoolbar.h68
1 files changed, 41 insertions, 27 deletions
diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h
index 5b4bbf34e5..189aeef69a 100644
--- a/gtk/gtktoolbar.h
+++ b/gtk/gtktoolbar.h
@@ -61,36 +61,50 @@ struct _GtkToolbar
struct _GtkToolbarClass
{
GtkContainerClass parent_class;
+
+ void (* orientation_changed) (GtkToolbar *toolbar,
+ GtkOrientation orientation);
+ void (* style_changed) (GtkToolbar *toolbar,
+ GtkToolbarStyle style);
};
-guint gtk_toolbar_get_type (void);
-GtkWidget *gtk_toolbar_new (GtkOrientation orientation,
- GtkToolbarStyle style);
-
-void gtk_toolbar_append_item (GtkToolbar *toolbar,
- const char *text,
- const char *tooltip_text,
- GtkPixmap *icon,
- GtkSignalFunc callback,
- gpointer user_data);
-void gtk_toolbar_prepend_item (GtkToolbar *toolbar,
- const char *text,
- const char *tooltip_text,
- GtkPixmap *icon,
- GtkSignalFunc callback,
- gpointer user_data);
-void gtk_toolbar_insert_item (GtkToolbar *toolbar,
- const char *text,
- const char *tooltip_text,
- GtkPixmap *icon,
- GtkSignalFunc callback,
- gpointer user_data,
- gint position);
-void gtk_toolbar_append_space (GtkToolbar *toolbar);
-void gtk_toolbar_prepend_space (GtkToolbar *toolbar);
-void gtk_toolbar_insert_space (GtkToolbar *toolbar,
- gint position);
+guint gtk_toolbar_get_type (void);
+GtkWidget *gtk_toolbar_new (GtkOrientation orientation,
+ GtkToolbarStyle style);
+
+void gtk_toolbar_append_item (GtkToolbar *toolbar,
+ const char *text,
+ const char *tooltip_text,
+ GtkPixmap *icon,
+ GtkSignalFunc callback,
+ gpointer user_data);
+void gtk_toolbar_prepend_item (GtkToolbar *toolbar,
+ const char *text,
+ const char *tooltip_text,
+ GtkPixmap *icon,
+ GtkSignalFunc callback,
+ gpointer user_data);
+void gtk_toolbar_insert_item (GtkToolbar *toolbar,
+ const char *text,
+ const char *tooltip_text,
+ GtkPixmap *icon,
+ GtkSignalFunc callback,
+ gpointer user_data,
+ gint position);
+void gtk_toolbar_append_space (GtkToolbar *toolbar);
+void gtk_toolbar_prepend_space (GtkToolbar *toolbar);
+void gtk_toolbar_insert_space (GtkToolbar *toolbar,
+ gint position);
+
+void gtk_toolbar_set_orientation (GtkToolbar *toolbar,
+ GtkOrientation orientation);
+void gtk_toolbar_set_style (GtkToolbar *toolbar,
+ GtkToolbarStyle style);
+void gtk_toolbar_set_space_size (GtkToolbar *toolbar,
+ gint space_size);
+void gtk_toolbar_set_tooltips (GtkToolbar *toolbar,
+ gint enable);
#ifdef __cplusplus