Package: gtk

Function gtk:editable-alignment

Lambda List

gtk:editable-alignment (editable)

Syntax

(gtk:editable-alignment editable) => align
(setf (gtk:editable-alignment editable) align)

Arguments

editable -- a gtk:editable widget
align -- a number coerced to a single float with the horizontal alignment, from 0.0 (left) to 1.0 (right), reversed for RTL layouts

Details

The gtk:editable-alignment function gets the value of the horizontal alignment of the editable widget. The (setf gtk:editable-alignment) function sets the alignment. This controls the horizontal positioning of the contents when the displayed text is shorter than the width of the editable widget.

Notes

This function is equivalent to the gtk:editable-xalign function. The Lisp implementation calls the corresponding gtk:editable-xalign functions.
 

See also

2024-11-15