atk.table_cell_mixin

Module for [TableCell] interface mixin

Templates 2

tmplTableCellT()

The ATK interface implemented for a cell inside a two-dimentional #AtkTable

Being #AtkTable a component which present elements ordered via rows and columns, an #AtkTableCell is the interface which each of those elements, so "cells" should implement.

See iface@AtkTable

Functions
atk.object.ObjectWrap[] getColumnHeaderCells()

Returns the column headers as an array of cell accessibles.

Returns

a GPtrArray of AtkObjects

representing the column header cells.

int getColumnSpan()

Returns the number of columns occupied by this cell accessible.

Returns

a gint representing the number of columns occupied by this cell,

or 0 if the cell does not implement this method.

bool getPosition(out int row, out int column)

Retrieves the tabular position of this cell.

Parameters

rowthe row of the given cell.
columnthe column of the given cell.

Returns

TRUE if successful; FALSE otherwise.
bool getRowColumnSpan(out int row, out int column, out int rowSpan, out int columnSpan)

Gets the row and column indexes and span of this cell accessible.

Note

If the object does not implement this function, then, by default, atk

will implement this function by calling get_row_span and get_column_span on the object.

Parameters

rowthe row index of the given cell.
columnthe column index of the given cell.
rowSpanthe number of rows occupied by this cell.
columnSpanthe number of columns occupied by this cell.

Returns

TRUE if successful; FALSE otherwise.
atk.object.ObjectWrap[] getRowHeaderCells()

Returns the row headers as an array of cell accessibles.

Returns

a GPtrArray of AtkObjects

representing the row header cells.

int getRowSpan()

Returns the number of rows occupied by this cell accessible.

Returns

a gint representing the number of rows occupied by this cell,

or 0 if the cell does not implement this method.

Returns a reference to the accessible of the containing table.

Returns

the atk object for the containing table.
tmplTableCellGidBuilderT()