Package: gtk

Accessor gtk-label-justify

Lambda List

gtk-label-justify (object)

Syntax

(gtk-label-justify object) => justify
(setf (gtk-label-justify object) justify)

Arguments

object -- a gtk-label widget
justify -- a value of the gtk-justification enumeration

Details

Accessor of the justify slot of the gtk-label class. The gtk-label-justify slot access function returns the justification of the label. The (setf gtk-label-justify) slot access function sets the alignment of the lines in the text of the label relative to each other.

The :left value is the default value when the widget is first created with the gtk-label-new function. If you instead want to set the alignment of the label as a whole, use the gtk-widget-halign function instead. The (setf gtk-label-justify) function has no effect on labels containing only a single line.
 

See also

2021-10-31