summaryrefslogtreecommitdiff
path: root/gtk/gtkbox.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-02-16 22:57:24 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-02-16 22:57:24 -0500
commit06716a6c79d614bc1b7607e46546b8d14f5b51e2 (patch)
treeb662ae39f6d942c16f2668694e7a71158c5aaab7 /gtk/gtkbox.h
parent8bd94a9515f0ca861a56f2f52a91a4b2b5ea96b1 (diff)
downloadgtk+-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.h6
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__ */