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

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.
Methods
CenterLayout build() nothrowCreate object from builder. Returns: New object