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 _gType() @property
LayoutChild self()Returns `this`, for use in `with` statements.
LayoutChildGidBuilder builder()Get builder for [gtk.layout_child.LayoutChild] Returns: New builder object
gtk.widget.Widget childWidget() @propertyGet `childWidget` property. Returns: The widget that is associated to the [gtk.layout_child.LayoutChild] instance.
gtk.layout_manager.LayoutManager layoutManager() @propertyGet `layoutManager` property. Returns: The layout manager that created the [gtk.layout_child.LayoutChild] instance.
gtk.widget.Widget getChildWidget()Retrieves the [gtk.widget.Widget] associated to the given layout_child. Returns: a [gtk.widget.Widget]
gtk.layout_manager.LayoutManager getLayoutManager()Retrieves the [gtk.layoutmanager.LayoutManager] instance that created the given layoutchild. Returns: a [gtk.layout_manager.LayoutManager]
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T childWidget(gtk.widget.Widget propval)Set `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)Set `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]