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
GType _gType() @property
CenterLayout self()Returns `this`, for use in `with` statements.
CenterLayoutGidBuilder builder()Get builder for [gtk.center_layout.CenterLayout] Returns: New builder object
bool 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 self
gtk.widget.Widget getEndWidget()Returns the end widget of the layout. Returns: the current end widget of self
gtk.types.Orientation getOrientation()Gets the current orienration of the layout manager. Returns: The current orientation of self
bool getShrinkCenterLast()Gets whether self shrinks the center widget after other children. Returns: whether to shrink the center widget after others
gtk.widget.Widget getStartWidget()Returns the start widget of the layout. Returns: The current start widget of self
void setBaselinePosition(gtk.types.BaselinePosition baselinePosition)Sets the new baseline position of self
void 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.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new [gtk.centerlayout.CenterLayout]. Returns: the newly created [gtk.centerlayout.CenterLayout]
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]