Lambda Listgtk:alignment-set (alignment xalign yalign xscale yscale) Argumentsalignment -- a gtk:alignment widget xalign -- a number coerced to single float for the horizontal alignment of the child widget, from 0.0 (left) to 1.0 (right) yalign -- a number coerced to a single float for the vertical alignment of the child widget, from 0.0 (top) to 1.0 (bottom) xscale -- a number coerced to a single float for the amount that the
child widget expands horizontally to fill up unused space, from 0.0 to 1.0,
a value of 0.0 indicates that the child widget should never expand, a value
of 1.0 indicates that the child widget will expand to fill all of the space allocated for the alignment yscale -- a number coerced to single float for the amount that the
child widget expands vertically to fill up unused space, from 0.0 to 1.0, the values are similar to xscale
Details Sets the alignment values. Warning The gtk:alignment-set function has been deprecated since version 3.14 and should not be used in newly written code. Use the gtk:widget
alignment and margin properties. |
| See also |