It derives from <GtkLayoutManager>.
Manages up to three children.
The start widget is allocated at the start of the layout (left in left-to-right locales and right in right-to-left ones), and the end widget at the end.
The center widget is centered regarding the full width of the layout’s.
Whether to shrink the center widget after other children.
By default, when there’s 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.
Its value is a boolean.
Set it with (set! (center-layout:shrink-center-last self) value).
Returns the baseline position of the layout.
Passed: a <GtkCenterLayout>.
Returned: a <GtkBaselinePosition>.
The current baseline position of self.
Returns the center widget of the layout.
Passed: a <GtkCenterLayout>.
Returned: a <GtkWidget>, or #f.
the current center widget of self
Returns the end widget of the layout.
Passed: a <GtkCenterLayout>.
Returned: a <GtkWidget>, or #f.
the current end widget of self
Gets the current orienration of the layout manager.
Passed: a <GtkCenterLayout>.
Returned: a <GtkOrientation>.
The current orientation of self
Gets whether self shrinks the center widget after other children.
Passed: a <GtkCenterLayout>.
Returned: a boolean.
whether to shrink the center widget after others
Returns the start widget of the layout.
Passed: a <GtkCenterLayout>.
Returned: a <GtkWidget>, or #f.
The current start widget of self
Creates a new <GtkCenterLayout>.
Returned: a <GtkLayoutManager>.
the newly created <GtkCenterLayout>
Sets the new baseline position of self
Passed: a <GtkCenterLayout>.
Passed: a <GtkBaselinePosition>, or one
of its symbols.
the new baseline position
Sets the new center widget of self.
To remove the existing center widget, pass #f.
Passed: a <GtkCenterLayout>.
Passed, or left out: a <GtkWidget>, or #f.
the new center widget
Sets the new end widget of self.
To remove the existing center widget, pass #f.
Passed: a <GtkCenterLayout>.
Passed, or left out: a <GtkWidget>, or #f.
the new end widget
Sets the orientation of self.
Passed: a <GtkCenterLayout>.
Passed: a <GtkOrientation>, or one of its
symbols.
the new orientation
Sets whether to shrink the center widget after other children.
By default, when there’s 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.
Passed: a <GtkCenterLayout>.
Passed: a boolean.
whether to shrink the center widget after others
Sets the new start widget of self.
To remove the existing start widget, pass #f.
Passed: a <GtkCenterLayout>.
Passed, or left out: a <GtkWidget>, or #f.
the new start widget