gtk.layout_child

Module for [LayoutChild] class

Types 3

gtk.layout_child.LayoutChild is the base class for objects that are meant to hold layout properties.

If a gtk.layout_manager.LayoutManager has per-child properties, like their packing type, or the horizontal and vertical span, or the icon name, then the layout manager should use a gtk.layout_child.LayoutChild implementation to store those properties.

A gtk.layout_child.LayoutChild instance is only ever valid while a widget is part of a layout.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
LayoutChild self() nothrowReturns `this`, for use in `with` statements.
LayoutChildGidBuilder builder() static nothrowGet builder for [gtk.layout_child.LayoutChild] Returns: New builder object
gtk.widget.Widget childWidget() @property nothrowGet `childWidget` property. Returns: The widget that is associated to the [gtk.layout_child.LayoutChild] instance.
gtk.layout_manager.LayoutManager layoutManager() @property nothrowGet `layoutManager` property. Returns: The layout manager that created the [gtk.layout_child.LayoutChild] instance.
gtk.widget.Widget getChildWidget() nothrowRetrieves the [gtk.widget.Widget] associated to the given layout_child. Returns: a [gtk.widget.Widget]
gtk.layout_manager.LayoutManager getLayoutManager() nothrowRetrieves the [gtk.layout_manager.LayoutManager] instance that created the given layout_child. Returns: a [gtk.layout_manager.LayoutManager]
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder implementation template for gtk.layout_child.LayoutChild

Methods
T childWidget(gtk.widget.Widget propval) nothrowSet `childWidget` property. Params: propval = The widget that is associated to the [gtk.layout_child.LayoutChild] instance. Returns: Builder instance for fluent chaining
T layoutManager(gtk.layout_manager.LayoutManager propval) nothrowSet `layoutManager` property. Params: propval = The layout manager that created the [gtk.layout_child.LayoutChild] instance. Returns: Builder instance for fluent chaining

Fluent builder for gtk.layout_child.LayoutChild

Methods
LayoutChild build() nothrowCreate object from builder. Returns: New object