Package: gtk

Accessor gtk:center-box-shrink-center-last

Lambda List

gtk:center-box-shrink-center-last (object)

Syntax

(gtk:center-box-shrink-center-last object) => setting
(setf (gtk:center-box-shrink-center-last object) setting)

Arguments

object -- a gtk:center-box widget
setting -- a boolean whether to shrink the center widget after other children

Details

Accessor of the shrink-center-last slot of the gtk:center-box class. The gtk:center-box-shrink-center-last function gets whether the center box shrinks the center widget after other children. The (setf gtk:center-box-shrink-center-last) function sets the property.

By default, when there is no space to give all three children their natural widths, the start and end widgets start shrinking and the center child keeps natural width until they reach minimum width. If set to false, start and end widgets keep natural width and the center widget starts shrinking instead.

Since 4.12
 

See also

2024-10-1