set_alignment


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.2" ) ]
public void set_alignment (Actor? child, BinAlignment x_align, BinAlignment y_align)

Warning: set_alignment is deprecated since 1.12.

Sets the horizontal and vertical alignment policies to be applied to a child of this

Note:

Use the x_align and y_align properties of Actor instead.

If child is null then the x_align and y_align values will be set as the default alignment policies

Parameters:

this

a BinLayout

child

a child of container

x_align

the horizontal alignment policy to be used for the child inside container

y_align

the vertical aligment policy to be used on the child inside container




2022 vala-language.org