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 number coerced to a single float for 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.
 

See also

2025-07-09