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

The accessor for the justify slot of the gtk:label class gets or 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 halign property instead. Setting the property has no effect on labels containing only a single line.
 

See also

2025-08-28