Package: gtk

Class gtk:center-layout

Superclasses

gtk:layout-manager, gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

shrink-center-last
The shrink-center-last property of type :boolean (Read / Write)
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.
Default value: true

Details

The gtk:center-layout class is a layout manager that manages up to three children. The start widget is allocated at the start of the layout (left in LRT layouts and right in RTL ones), and the end widget at the end. The center widget is centered regarding the full width of the layout.
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2024-4-19