Package: gtk

Function gtk-entry-alignment

Lambda List

gtk-entry-alignment (entry)

Syntax

(gtk-entry-alignment entry) => align
(setf (gtk-entry-alignment entry) align)

Arguments

entry -- a gtk-entry widget
align -- a float with the horizontal alignment, from 0.0 (left) to 1.0 (right), reversed for RTL layouts

Details

Accessor of the horizontal positioning of the entry.

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

Lisp implementation

This function is implemented with the gtk-entry-xalign function. gtk-entry-xalign
 

See also

2021-11-3