summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2013-03-05 15:06:12 +0100
committerAlexander Larsson <alexl@redhat.com>2013-04-23 05:47:31 +0200
commitf15bc7818e0941da80c4ee380a25daf7fcd99d72 (patch)
treeb55f48c415bfc67bf6e3e6821206b661858b6ff7 /gtk/gtkwidget.h
parent655c781b6e0c0a6e755ea136e86fd7a3f11767c5 (diff)
downloadgtk+-f15bc7818e0941da80c4ee380a25daf7fcd99d72.tar.gz
Add GTK_ALIGN_BASELINE to GtkAlign
Setting this means baseline aware containers should align the widget according to the baseline. For other containers this behaves like FILL. In order to not suprise old code with a new enum value we always return _FILL for _BASELINE unless you specifically request it via gtk_widget_get_valign_with_baseline().
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h
index 3d57ddeb5a..97e9f7afdc 100644
--- a/gtk/gtkwidget.h
+++ b/gtk/gtkwidget.h
@@ -760,6 +760,7 @@ GtkAlign gtk_widget_get_halign (GtkWidget *widget);
void gtk_widget_set_halign (GtkWidget *widget,
GtkAlign align);
GtkAlign gtk_widget_get_valign (GtkWidget *widget);
+GtkAlign gtk_widget_get_valign_with_baseline (GtkWidget *widget);
void gtk_widget_set_valign (GtkWidget *widget,
GtkAlign align);
gint gtk_widget_get_margin_left (GtkWidget *widget);