GtkEntry::set_alignment

void set_alignment(double 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. 0 means left, 1 right. Reversed for RTL layouts.

See also: get_alignment()