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
CenterLayoutGidBuilder builder() static nothrowGet builder for [gtk.center_layout.CenterLayout] Returns: New builder objectbool shrinkCenterLast() @property nothrowGet `shrinkCenterLast` property. Returns: Whether to shrink the center widget after other children.void shrinkCenterLast(bool propval) @property nothrowSet `shrinkCenterLast` property. Params: propval = Whether to shrink the center widget after other children.gtk.types.BaselinePosition getBaselinePosition() nothrowReturns the baseline position of the layout. Returns: The current baseline position of self.gtk.widget.Widget getCenterWidget() nothrowReturns the center widget of the layout. Returns: the current center widget of selfgtk.widget.Widget getEndWidget() nothrowReturns the end widget of the layout. Returns: the current end widget of selfgtk.types.Orientation getOrientation() nothrowGets the current orienration of the layout manager. Returns: The current orientation of selfbool getShrinkCenterLast() nothrowGets whether self shrinks the center widget after other children. Returns: whether to shrink the center widget after othersgtk.widget.Widget getStartWidget() nothrowReturns the start widget of the layout. Returns: The current start widget of selfvoid setBaselinePosition(gtk.types.BaselinePosition baselinePosition) nothrowSets the new baseline position of selfvoid setShrinkCenterLast(bool shrinkCenterLast) nothrowSets whether to shrink the center widget after other children.Fluent builder implementation template for gtk.center_layout.CenterLayout
Methods
T shrinkCenterLast(bool propval) nothrowSet `shrinkCenterLast` property. Params: propval = Whether to shrink the center widget after other children.Fluent builder for gtk.center_layout.CenterLayout
Methods