diff options
author | Radek Doulik <rodo@src.gnome.org> | 1998-01-30 10:21:37 +0000 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 1998-01-30 10:21:37 +0000 |
commit | ee7038f9fddd0213c65474e5d59609107caed7c6 (patch) | |
tree | a87628de49d7c6c3aa2391d86785002cba10276c /gtk/gtktoolbar.h | |
parent | 7922f34318d4f5f3262a4c22336aa6bd5eb8d143 (diff) | |
download | gtk+-ee7038f9fddd0213c65474e5d59609107caed7c6.tar.gz |
make toolbar Child structure accesible from apps
Diffstat (limited to 'gtk/gtktoolbar.h')
-rw-r--r-- | gtk/gtktoolbar.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gtk/gtktoolbar.h b/gtk/gtktoolbar.h index 1e775b2801..65a26ff1b8 100644 --- a/gtk/gtktoolbar.h +++ b/gtk/gtktoolbar.h @@ -39,8 +39,26 @@ extern "C" { #define GTK_IS_TOOLBAR(obj) GTK_CHECK_TYPE (obj, gtk_toolbar_get_type ()) -typedef struct _GtkToolbar GtkToolbar; -typedef struct _GtkToolbarClass GtkToolbarClass; +typedef enum _GtkToolbarChildType GtkToolbarChildType; +typedef struct _GtkToolbarChild GtkToolbarChild; +typedef struct _GtkToolbar GtkToolbar; +typedef struct _GtkToolbarClass GtkToolbarClass; + +enum _GtkToolbarChildType +{ + GTK_TOOLBAR_CHILD_SPACE, + GTK_TOOLBAR_CHILD_BUTTON, + GTK_TOOLBAR_CHILD_WIDGET +}; + +struct _GtkToolbarChild +{ + GtkToolbarChildType type; + GtkWidget *widget; + GtkWidget *icon; + GtkWidget *label; +}; + struct _GtkToolbar { |