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
LayoutChild self()Returns `this`, for use in `with` statements.LayoutChildGidBuilder builder()Get builder for [gtk.layout_child.LayoutChild] Returns: New builder objectgtk.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.layout_manager.LayoutManager] instance that created the given layout_child. Returns: a [gtk.layout_manager.LayoutManager]Fluent builder implementation template for gtk.layout_child.LayoutChild
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 chainingT 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 chainingFluent builder for gtk.layout_child.LayoutChild
Methods
LayoutChild build()Create object from builder. Returns: New object