diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-02-16 22:57:24 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-02-16 22:57:24 -0500 |
commit | 06716a6c79d614bc1b7607e46546b8d14f5b51e2 (patch) | |
tree | b662ae39f6d942c16f2668694e7a71158c5aaab7 /gtk/gtkbox.h | |
parent | 8bd94a9515f0ca861a56f2f52a91a4b2b5ea96b1 (diff) | |
download | gtk+-06716a6c79d614bc1b7607e46546b8d14f5b51e2.tar.gz |
Add center widget support to GtkBox
This makes GtkCenterBox unnecessary, and at the same time
adds more features: the center widget can be expanded, and
baseline alignment is supported.
Diffstat (limited to 'gtk/gtkbox.h')
-rw-r--r-- | gtk/gtkbox.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h index bed154794b..9f99afbcaf 100644 --- a/gtk/gtkbox.h +++ b/gtk/gtkbox.h @@ -129,6 +129,12 @@ void gtk_box_set_child_packing (GtkBox *box, guint padding, GtkPackType pack_type); +GDK_AVAILABLE_IN_3_12 +void gtk_box_set_center_widget (GtkBox *box, + GtkWidget *widget); +GDK_AVAILABLE_IN_3_12 +GtkWidget *gtk_box_get_center_widget (GtkBox *box); + G_END_DECLS #endif /* __GTK_BOX_H__ */ |