Top |
AtkTableCellAtkTableCell — 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 also AtkTable.
gint
atk_table_cell_get_column_span (AtkTableCell *cell
);
Returns the number of columns occupied by this cell accessible.
a gint representing the number of columns occupied by this cell, or 0 if the cell does not implement this method.
Since: 2.12
GPtrArray *
atk_table_cell_get_column_header_cells
(AtkTableCell *cell
);
Returns the column headers as an array of cell accessibles.
a GPtrArray of AtkObjects representing the column header cells.
[element-type AtkObject][transfer full]
Since: 2.12
gboolean atk_table_cell_get_position (AtkTableCell *cell
,gint *row
,gint *column
);
Retrieves the tabular position of this cell.
cell |
a GObject instance that implements AtkTableCellIface |
|
row |
the row of the given cell. |
[out] |
column |
the column of the given cell. |
[out] |
Since: 2.12
gint
atk_table_cell_get_row_span (AtkTableCell *cell
);
Returns the number of rows occupied by this cell accessible.
a gint representing the number of rows occupied by this cell, or 0 if the cell does not implement this method.
Since: 2.12
GPtrArray *
atk_table_cell_get_row_header_cells (AtkTableCell *cell
);
Returns the row headers as an array of cell accessibles.
a GPtrArray of AtkObjects representing the row header cells.
[element-type AtkObject][transfer full]
Since: 2.12
gboolean atk_table_cell_get_row_column_span (AtkTableCell *cell
,gint *row
,gint *column
,gint *row_span
,gint *column_span
);
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.
cell |
a GObject instance that implements AtkTableCellIface |
|
row |
the row index of the given cell. |
[out] |
column |
the column index of the given cell. |
[out] |
row_span |
the number of rows occupied by this cell. |
[out] |
column_span |
the number of columns occupied by this cell. |
[out] |
Since: 2.12
AtkObject *
atk_table_cell_get_table (AtkTableCell *cell
);
Returns a reference to the accessible of the containing table.
Since: 2.12
struct AtkTableCellIface { gint (*get_column_span) (AtkTableCell *cell); GPtrArray * (*get_column_header_cells) (AtkTableCell *cell); gboolean (*get_position) (AtkTableCell *cell, gint *row, gint *column); gint (*get_row_span) (AtkTableCell *cell); GPtrArray * (*get_row_header_cells) (AtkTableCell *cell); gboolean (*get_row_column_span) (AtkTableCell *cell, gint *row, gint *column, gint *row_span, gint *column_span); AtkObject * (*get_table) (AtkTableCell *cell); };
AtkTableCell is an interface for cells inside an AtkTable.
virtual function that returns the number of columns occupied by this cell accessible |
||
virtual function that returns the column headers as an array of cell accessibles |
||
virtual function that retrieves the tabular position of this cell |
||
virtual function that returns the number of rows occupied by this cell |
||
virtual function that returns the row headers as an array of cell accessibles |
||
virtual function that get the row an column indexes and span of this cell |
||
virtual function that returns a reference to the accessible of the containing table |
Since: 2.12