gtk.cell_area_box
Module for [CellAreaBox] class
Types 3
The #GtkCellAreaBox renders cell renderers into a row or a column depending on its #GtkOrientation.
GtkCellAreaBox uses a notion of packing. Packing refers to adding cell renderers with reference to a particular position in a #GtkCellAreaBox. There are two reference positions: the start and the end of the box. When the #GtkCellAreaBox 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 #GtkCellRenderers rendered in adjacent rows can be configured by configuring the #GtkCellAreaBox 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].
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]