contents
gtk.cell_area_box
Module for [CellAreaBox] class
Types 3
A cell area that renders GtkCellRenderers into a row or a column
The [gtk.cell_area_box.CellAreaBox] renders cell renderers into a row or a column depending on its [gtk.types.Orientation].
GtkCellAreaBox uses a notion of packing. Packing refers to adding cell renderers with reference to a particular position in a [gtk.cell_area_box.CellAreaBox]. There are two reference positions: the start and the end of the box. When the [gtk.cell_area_box.CellAreaBox] is oriented in the [gtk.types.Orientation.Vertical] orientation, the start is defined as the top of the box and the end is defined as the bottom. In the [gtk.types.Orientation.Horizontal] orientation start is defined as the left side and the end is defined as the right side.
Alignments of [gtk.cell_renderer.CellRenderer]s rendered in adjacent rows can be configured by configuring the [gtk.cell_area_box.CellAreaBox] align child cell property with [gtk.cell_area.CellArea.cellSetProperty] or by specifying the "align" argument to [gtk.cell_area_box.CellAreaBox.packStart] and [gtk.cell_area_box.CellAreaBox.packEnd].
Deprecated
CellAreaBox self()Returns `this`, for use in `with` statements.CellAreaBoxGidBuilder builder()Get builder for [gtk.cellareabox.CellAreaBox] Returns: New builder objectint spacing() @propertyGet `spacing` property. Returns: The amount of space to reserve between cells.void spacing(int propval) @propertySet `spacing` property. Params: propval = The amount of space to reserve between cells.int getSpacing()Gets the spacing added between cell renderers. Returns: the space added between cell renderers in box.void packEnd(gtk.cell_renderer.CellRenderer renderer, bool expand, bool align_, bool fixed)Adds renderer to box, packed with reference to the end of box.void packStart(gtk.cell_renderer.CellRenderer renderer, bool expand, bool align_, bool fixed)Adds renderer to box, packed with reference to the start of box.void setSpacing(int spacing)Sets the spacing to add between cell renderers in box.T spacing(int propval)Set `spacing` property. Params: propval = The amount of space to reserve between cells. Returns: Builder instance for fluent chainingFluent builder for [gtk.cell_area_box.CellAreaBox]