set_alignment


Description:

public void set_alignment (float xalign)

Sets the alignment for the contents of the entry.

This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the entry.

See also: [[email protected]:xalign]

Parameters:

this

a `GtkEntry`

xalign

The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts




2022 vala-language.org