interface Atk.Table : GObject.ObjectTheATK interface implemented forUI components which contain tabular or row/column information.
AtkTable should be implemented by components which presentelements ordered via rows and columns. It may also be used topresent tree-structured information if the nodes of the trees canbe said to contain multiple “columns”. Individual elements of anAtkTable are typically referred to as “cells”. Those cells shouldimplement the interfaceAtkTableCell, butAtk doesn’t requirethem to be direct children of the currentAtkTable. They can begrand-children, grand-grand-children etc.AtkTable provides theAPI needed to get a individual cell based on the row and column numbers.
Children ofAtkTable are frequently “lightweight” objects, thatis, they may not have backing widgets in the hostUI toolkit. Theyare therefore often transient.
Since tables are often very complex,AtkTable includes provisionfor offering simplified summary information, as well as row andcolumn headers and captions. Headers and captions areAtkObjectswhich may implement other interfaces (AtkText,AtkImage, etc.) asappropriate.AtkTable summaries may themselves be (simplified)AtkTables, etc.
Note for implementors: in the past,AtkTable required that all thecells should be direct children ofAtkTable, and provided someindex based methods to request the cells. The practice showed thatthat forcing madeAtkTable implementation complex, and hard toexpose other kind of children, like rows or captions. Right now,index-based methods are deprecated.
In order to implement Table, your type must inherit fromGObject.
Gets a #gint representing the column at the specifiedindex_.
deprecated: Unknown
Gets the number of columns occupied by the accessible objectat the specifiedrow andcolumn in thetable.
Gets a #gint representing the index at the specifiedrow andcolumn.
deprecated: Unknown
Gets a #gint representing the row at the specifiedindex_.
deprecated: Unknown
Gets the number of rows occupied by the accessible objectat a specifiedrow andcolumn in thetable.
Gets the selected columns of the table by initializing **selected withthe selected column numbers. This array should be freed by the caller.
Gets the selected rows of the table by initializing **selected withthe selected row numbers. This array should be freed by the caller.
Gets a boolean value indicating whether the accessible objectat the specifiedrow andcolumn is selected.
Get a reference to the table cell atrow,column. This cellshould implement the interfaceAtkTableCell.
The “column-deleted” signal is emitted by an object whichimplements the AtkTable interface when a column is deleted.
The “column-inserted” signal is emitted by an object whichimplements the AtkTable interface when a column is inserted.
The “column-reordered” signal is emitted by an object whichimplements the AtkTable interface when the columns are reordered.
The “model-changed” signal is emitted by an object whichimplements the AtkTable interface when the model displayed bythe table changes.
The “row-deleted” signal is emitted by an object whichimplements the AtkTable interface when a row is deleted.
The “row-inserted” signal is emitted by an object whichimplements the AtkTable interface when a row is inserted.
The “row-reordered” signal is emitted by an object whichimplements the AtkTable interface when the rows are reordered.
struct AtkTableIface { GTypeInterface parent; AtkObject* (* ref_at) ( AtkTable* table, gint row, gint column ); gint (* get_index_at) ( AtkTable* table, gint row, gint column ); gint (* get_column_at_index) ( AtkTable* table, gint index_ ); gint (* get_row_at_index) ( AtkTable* table, gint index_ ); gint (* get_n_columns) ( AtkTable* table ); gint (* get_n_rows) ( AtkTable* table ); gint (* get_column_extent_at) ( AtkTable* table, gint row, gint column ); gint (* get_row_extent_at) ( AtkTable* table, gint row, gint column ); AtkObject* (* get_caption) ( AtkTable* table ); const gchar* (* get_column_description) ( AtkTable* table, gint column ); AtkObject* (* get_column_header) ( AtkTable* table, gint column ); const gchar* (* get_row_description) ( AtkTable* table, gint row ); AtkObject* (* get_row_header) ( AtkTable* table, gint row ); AtkObject* (* get_summary) ( AtkTable* table ); void (* set_caption) ( AtkTable* table, AtkObject* caption ); void (* set_column_description) ( AtkTable* table, gint column, const gchar* description ); void (* set_column_header) ( AtkTable* table, gint column, AtkObject* header ); void (* set_row_description) ( AtkTable* table, gint row, const gchar* description ); void (* set_row_header) ( AtkTable* table, gint row, AtkObject* header ); void (* set_summary) ( AtkTable* table, AtkObject* accessible ); gint (* get_selected_columns) ( AtkTable* table, gint** selected ); gint (* get_selected_rows) ( AtkTable* table, gint** selected ); gboolean (* is_column_selected) ( AtkTable* table, gint column ); gboolean (* is_row_selected) ( AtkTable* table, gint row ); gboolean (* is_selected) ( AtkTable* table, gint row, gint column ); gboolean (* add_row_selection) ( AtkTable* table, gint row ); gboolean (* remove_row_selection) ( AtkTable* table, gint row ); gboolean (* add_column_selection) ( AtkTable* table, gint column ); gboolean (* remove_column_selection) ( AtkTable* table, gint column ); void (* row_inserted) ( AtkTable* table, gint row, gint num_inserted ); void (* column_inserted) ( AtkTable* table, gint column, gint num_inserted ); void (* row_deleted) ( AtkTable* table, gint row, gint num_deleted ); void (* column_deleted) ( AtkTable* table, gint column, gint num_deleted ); void (* row_reordered) ( AtkTable* table ); void (* column_reordered) ( AtkTable* table ); void (* model_changed) ( AtkTable* table ); }No description available.
parent | |
No description available. | |
ref_at | |
No description available. | |
get_index_at | |
No description available. | |
get_column_at_index | |
No description available. | |
get_row_at_index | |
No description available. | |
get_n_columns | |
No description available. | |
get_n_rows | |
No description available. | |
get_column_extent_at | |
No description available. | |
get_row_extent_at | |
No description available. | |
get_caption | |
No description available. | |
get_column_description | |
No description available. | |
get_column_header | |
No description available. | |
get_row_description | |
No description available. | |
get_row_header | |
No description available. | |
get_summary | |
No description available. | |
set_caption | |
No description available. | |
set_column_description | |
No description available. | |
set_column_header | |
No description available. | |
set_row_description | |
No description available. | |
set_row_header | |
No description available. | |
set_summary | |
No description available. | |
get_selected_columns | |
No description available. | |
get_selected_rows | |
No description available. | |
is_column_selected | |
No description available. | |
is_row_selected | |
No description available. | |
is_selected | |
No description available. | |
add_row_selection | |
No description available. | |
remove_row_selection | |
No description available. | |
add_column_selection | |
No description available. | |
remove_column_selection | |
No description available. | |
row_inserted | |
No description available. | |
column_inserted | |
No description available. | |
row_deleted | |
No description available. | |
column_deleted | |
No description available. | |
row_reordered | |
No description available. | |
column_reordered | |
No description available. | |
model_changed | |
No description available. |
Gets a #gint representing the column at the specifiedindex_.
deprecated: Unknown
Gets the number of columns occupied by the accessible objectat the specifiedrow andcolumn in thetable.
Gets a #gint representing the index at the specifiedrow andcolumn.
deprecated: Unknown
Gets a #gint representing the row at the specifiedindex_.
deprecated: Unknown
Gets the number of rows occupied by the accessible objectat a specifiedrow andcolumn in thetable.
Gets the selected columns of the table by initializing **selected withthe selected column numbers. This array should be freed by the caller.
Gets the selected rows of the table by initializing **selected withthe selected row numbers. This array should be freed by the caller.
Gets a boolean value indicating whether the accessible objectat the specifiedrow andcolumn is selected.
Get a reference to the table cell atrow,column. This cellshould implement the interfaceAtkTableCell.