summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-09-15 23:17:11 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-09-29 23:56:20 -0400
commitd39424fc1c0f7d876ccd9632f3b16d7a67aed290 (patch)
tree82b42a11a8f0d09d96f699df1faf0174529a18e4 /gtk/gtklabel.h
parentc2330e7fd167618e9ec2c7f8137e545e328805f1 (diff)
downloadgtk+-d39424fc1c0f7d876ccd9632f3b16d7a67aed290.tar.gz
GtkLabel: add x/yalign properties
Since it turns out that x/yalign can't be quite equivalently replaced by h/valign, bring them back as label properties, so we can eventually get rid of GtkMisc. https://bugzilla.gnome.org/show_bug.cgi?id=735841
Diffstat (limited to 'gtk/gtklabel.h')
-rw-r--r--gtk/gtklabel.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/gtklabel.h b/gtk/gtklabel.h
index 19f8806586..7cadc115bd 100644
--- a/gtk/gtklabel.h
+++ b/gtk/gtklabel.h
@@ -213,6 +213,19 @@ void gtk_label_set_track_visited_links (GtkLabel *label,
GDK_AVAILABLE_IN_ALL
gboolean gtk_label_get_track_visited_links (GtkLabel *label);
+GDK_AVAILABLE_IN_3_16
+void gtk_label_set_xalign (GtkLabel *label,
+ gfloat xalign);
+
+GDK_AVAILABLE_IN_3_16
+gfloat gtk_label_get_xalign (GtkLabel *label);
+
+GDK_AVAILABLE_IN_3_16
+void gtk_label_set_yalign (GtkLabel *label,
+ gfloat xalign);
+
+GDK_AVAILABLE_IN_3_16
+gfloat gtk_label_get_yalign (GtkLabel *label);
G_END_DECLS