CellLayoutImpl

data class CellLayoutImpl(val gtkCellLayoutPointer: <Error class: unknown class><<Error class: unknown class>>) : CellLayout

The CellLayoutImpl type represents a native instance of the CellLayout interface.

Constructors

Link copied to clipboard
constructor(gtkCellLayoutPointer: <Error class: unknown class><<Error class: unknown class>>)

Creates a new instance of CellLayout for the provided CPointer.

Properties

Link copied to clipboard
open override val gtkCellLayoutPointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun addAttribute(cell: CellRenderer, attribute: String, column: <Error class: unknown class>)

Adds an attribute mapping to the list in @cell_layout.

Link copied to clipboard
open fun clear()

Unsets all the mappings on all renderers on @cell_layout and removes all renderers from @cell_layout.

Link copied to clipboard

Clears all existing attributes previously set with gtk_cell_layout_set_attributes().

Link copied to clipboard
open fun getArea(): CellArea?

Returns the underlying GtkCellArea which might be @cell_layout if called on a GtkCellArea or might be null if no GtkCellArea is used by @cell_layout.

Link copied to clipboard
open fun getCells(): <Error class: unknown class>

Returns the cell renderers which have been added to @cell_layout.

Link copied to clipboard
open fun packEnd(cell: CellRenderer, expand: Boolean)

Adds the @cell to the end of @cell_layout. If @expand is false, then the

Link copied to clipboard
open fun packStart(cell: CellRenderer, expand: Boolean)

Packs the @cell into the beginning of @cell_layout. If @expand is false, then the @cell is allocated no more space than it needs. Any unused space is divided evenly between cells for which @expand is true.

Link copied to clipboard
open fun reorder(cell: CellRenderer, position: <Error class: unknown class>)

Re-inserts @cell at @position.

Link copied to clipboard

Sets the GtkCellLayoutDataFunc to use for @cell_layout.