summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1997-12-23 00:35:48 +0000
committerArturo Espinosa <unammx@src.gnome.org>1997-12-23 00:35:48 +0000
commitb44565f3e4730ada4d9d238707fc0d882d197092 (patch)
treee381d0e26a433ffb582f607a021a8ba1fb7793d4 /gtk/gtktoolbar.h
parent4da7b2f2efee93706132eb79a886fd78126787bf (diff)
downloadgtk+-b44565f3e4730ada4d9d238707fc0d882d197092.tar.gz
Demo works fine. I have to add the missing functions for setting the toolbar's
parameters on the fly. - Federico
Diffstat (limited to 'gtk/gtktoolbar.h')
-rw-r--r--gtk/gtktoolbar.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h
index abd7fcf21a..5b4bbf34e5 100644
--- a/gtk/gtktoolbar.h
+++ b/gtk/gtktoolbar.h
@@ -25,6 +25,8 @@
#include <gtk/gtkcontainer.h>
#include <gtk/gtkenums.h>
#include <gtk/gtkpixmap.h>
+#include <gtk/gtksignal.h>
+#include <gtk/gtktooltips.h>
#ifdef __cplusplus
@@ -50,6 +52,8 @@ struct _GtkToolbar
GtkToolbarStyle style;
gint space_size; /* big optional space between buttons */
+ GtkTooltips *tooltips;
+
gint child_maxw;
gint child_maxh;
};
@@ -67,15 +71,21 @@ GtkWidget *gtk_toolbar_new (GtkOrientation orientation,
void gtk_toolbar_append_item (GtkToolbar *toolbar,
const char *text,
const char *tooltip_text,
- GtkPixmap *icon);
+ GtkPixmap *icon,
+ GtkSignalFunc callback,
+ gpointer user_data);
void gtk_toolbar_prepend_item (GtkToolbar *toolbar,
const char *text,
const char *tooltip_text,
- GtkPixmap *icon);
+ 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);