Package: gtk

Accessor gtk:center-layout-shrink-center-last

Lambda List

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

Syntax

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

Arguments

object -- a gtk:center-layout object
setting -- a boolean whether to shrink the center widget after others

Details

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

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-4-19