diff options
author | Matthias Clasen <mclasen@redhat.com> | 2017-06-10 09:14:16 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-06-10 09:14:16 -0400 |
commit | f135b2527f722cd0b4d22290a1e8f55ac9725d1e (patch) | |
tree | 479e5cef72126413aebbba472f5b3b614e197f16 /gtk/gtkcenterbox.h | |
parent | 8316ec85f500107eccb0de5d9d84abc6e8044e91 (diff) | |
download | gtk+-f135b2527f722cd0b4d22290a1e8f55ac9725d1e.tar.gz |
center box: complete the baseline support
When there is no externally allocated baseline, we should
do the same thing that GtkBox does, and determine one from
the children that want baseline alignment.
This commit adds a GtkCenterBox::baseline-position property
with setters and getters.
Diffstat (limited to 'gtk/gtkcenterbox.h')
-rw-r--r-- | gtk/gtkcenterbox.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkcenterbox.h b/gtk/gtkcenterbox.h index 709ac604f9..460db573f3 100644 --- a/gtk/gtkcenterbox.h +++ b/gtk/gtkcenterbox.h @@ -56,5 +56,10 @@ GtkWidget * gtk_center_box_get_center_widget (GtkCenterBox *self); GDK_AVAILABLE_IN_3_92 GtkWidget * gtk_center_box_get_end_widget (GtkCenterBox *self); +GDK_AVAILABLE_IN_3_92 +void gtk_center_box_set_baseline_position (GtkCenterBox *self, + GtkBaselinePosition position); +GDK_AVAILABLE_IN_3_92 +GtkBaselinePosition gtk_center_box_get_baseline_position (GtkCenterBox *self); #endif |