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.

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
CellAreaBox self() nothrowReturns `this`, for use in `with` statements.
CellAreaBoxGidBuilder builder() static nothrowGet builder for [gtk.cell_area_box.CellAreaBox] Returns: New builder object
int spacing() @property nothrowGet `spacing` property. Returns: The amount of space to reserve between cells.
void spacing(int propval) @property nothrowSet `spacing` property. Params: propval = The amount of space to reserve between cells.
int getSpacing() nothrowGets 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) nothrowAdds renderer to box, packed with reference to the end of box.
void packStart(gtk.cell_renderer.CellRenderer renderer, bool expand, bool align_, bool fixed) nothrowAdds renderer to box, packed with reference to the start of box.
void setSpacing(int spacing) nothrowSets the spacing to add between cell renderers in box.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GtkCellAreaBox. Returns: a newly created #GtkCellAreaBox

Fluent builder implementation template for gtk.cell_area_box.CellAreaBox

Methods
T spacing(int propval) nothrowSet `spacing` property. Params: propval = The amount of space to reserve between cells. Returns: Builder instance for fluent chaining
Methods
CellAreaBox build() nothrowCreate object from builder. Returns: New object