Misc.setAlignment
void setAlignment(float xalign, float yalign)Sets the alignment of the widget.
Parameters
xalign | the horizontal alignment, from 0 (left) to 1 (right). |
yalign | the vertical alignment, from 0 (top) to 1 (bottom). |
Deprecated
Use #GtkWidget's alignment (#GtkWidget:halign and #GtkWidget:valign) and margin properties or #GtkLabel's #GtkLabel:xalign and #GtkLabel:yalign properties.