gtk.center_layout
Module for [CenterLayout] class
Types 3
[gtk.center_layout.CenterLayout] is a layout manager that 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.
Methods
CenterLayout self()Returns `this`, for use in `with` statements.CenterLayoutGidBuilder builder()Get builder for [gtk.center_layout.CenterLayout] Returns: New builder objectbool shrinkCenterLast() @propertyGet `shrinkCenterLast` property. Returns: Whether to shrink the center widget after other children.void shrinkCenterLast(bool propval) @propertySet `shrinkCenterLast` property. Params: propval = Whether to shrink the center widget after other children.gtk.types.BaselinePosition getBaselinePosition()Returns the baseline position of the layout. Returns: The current baseline position of self.gtk.widget.Widget getCenterWidget()Returns the center widget of the layout. Returns: the current center widget of selfgtk.widget.Widget getEndWidget()Returns the end widget of the layout. Returns: the current end widget of selfgtk.types.Orientation getOrientation()Gets the current orienration of the layout manager. Returns: The current orientation of selfbool getShrinkCenterLast()Gets whether self shrinks the center widget after other children. Returns: whether to shrink the center widget after othersgtk.widget.Widget getStartWidget()Returns the start widget of the layout. Returns: The current start widget of selfvoid setBaselinePosition(gtk.types.BaselinePosition baselinePosition)Sets the new baseline position of selfvoid setCenterWidget(gtk.widget.Widget widget = null)Sets the new center widget of self.void setEndWidget(gtk.widget.Widget widget = null)Sets the new end widget of self.void setOrientation(gtk.types.Orientation orientation)Sets the orientation of self.void setShrinkCenterLast(bool shrinkCenterLast)Sets whether to shrink the center widget after other children.void setStartWidget(gtk.widget.Widget widget = null)Sets the new start widget of self.Methods
T shrinkCenterLast(bool propval)Set `shrinkCenterLast` property. Params: propval = Whether to shrink the center widget after other children.Fluent builder for [gtk.center_layout.CenterLayout]
Methods