ATK Library Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
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); G_CONST_RETURN gchar* (* get_column_description) (AtkTable *table, gint column); AtkObject* (* get_column_header) (AtkTable *table, gint column); G_CONST_RETURN 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); /* * signal handlers */ 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); }; |
AtkObject* atk_table_ref_at (AtkTable *table, gint row, gint column); |
Get a reference to the table cell at row, column.
gint atk_table_get_index_at (AtkTable *table, gint row, gint column); |
Gets a gint representing the index at the specified row and column. The value -1 is returned if the object at row,column is not a child of table or table does not implement this interface.
gint atk_table_get_column_at_index (AtkTable *table, gint index); |
Gets a gint representing the column at the specified index, or -1 if the table does not implement this interface
table : | a GObject instance that implements AtkTableInterface |
index : | a gint representing an index in table |
Returns : | a gint representing the column at the specified index. |
gint atk_table_get_row_at_index (AtkTable *table, gint index); |
Gets a gint representing the row at the specified index, or -1 if the table does not implement this interface
table : | a GObject instance that implements AtkTableInterface |
index : | a gint representing an index in table |
Returns : | a gint representing the row at the specified index. |
gint atk_table_get_n_columns (AtkTable *table); |
Gets the number of columns in the table.
table : | a GObject instance that implements AtkTableIface |
Returns : | a gint representing the number of columns, or 0 if value does not implement this interface. |
gint atk_table_get_n_rows (AtkTable *table); |
Gets the number of rows in the table.
table : | a GObject instance that implements AtkTableIface |
Returns : | a gint representing the number of rows, or 0 if value does not implement this interface. |
gint atk_table_get_column_extent_at (AtkTable *table, gint row, gint column); |
Gets the number of columns occupied by the accessible object at the specified row and column in the table.
gint atk_table_get_row_extent_at (AtkTable *table, gint row, gint column); |
Gets the number of rows occupied by the accessible object at a specified row and column in the table.
AtkObject* atk_table_get_caption (AtkTable *table); |
Gets the caption for the table.
table : | a GObject instance that implements AtkTableInterface |
Returns : | a AtkObject* representing the table caption, or NULL if value does not implement this interface. |
G_CONST_RETURN gchar* atk_table_get_column_description (AtkTable *table, gint column); |
Gets the description text of the specified column in the table
table : | a GObject instance that implements AtkTableIface |
column : | a gint representing a column in table |
Returns : | a gchar* representing the column description, or NULL if value does not implement this interface. |
G_CONST_RETURN gchar* atk_table_get_row_description (AtkTable *table, gint row); |
Gets the description text of the specified row in the table
table : | a GObject instance that implements AtkTableIface |
row : | a gint representing a row in table |
Returns : | a gchar* representing the row description, or NULL if value does not implement this interface. |
AtkObject* atk_table_get_column_header (AtkTable *table, gint column); |
Gets the column header of a specified column in an accessible table.
table : | a GObject instance that implements AtkTableIface |
column : | a gint representing a column in the table |
Returns : | a AtkObject* representing the specified column header, or NULL if value does not implement this interface. |
AtkObject* atk_table_get_row_header (AtkTable *table, gint row); |
Gets the row header of a specified row in an accessible table.
table : | a GObject instance that implements AtkTableIface |
row : | a gint representing a row in the table |
Returns : | a AtkObject* representing the specified row header, or NULL if value does not implement this interface. |
AtkObject* atk_table_get_summary (AtkTable *table); |
Gets the summary description of the table.
table : | a GObject instance that implements AtkTableIface |
Returns : | a AtkObject* representing a summary description of the table, or zero if value does not implement this interface. |
void atk_table_set_caption (AtkTable *table, AtkObject *caption); |
Sets the caption for the table.
table : | a GObject instance that implements AtkTableIface |
caption : | a AtkObject representing the caption to set for table |
void atk_table_set_row_description (AtkTable *table, gint row, const gchar *description); |
Sets the description text for the specified row of table.
void atk_table_set_column_description (AtkTable *table, gint column, const gchar *description); |
Sets the description text for the specified column of the table.
void atk_table_set_row_header (AtkTable *table, gint row, AtkObject *header); |
Sets the specified row header to header.
void atk_table_set_column_header (AtkTable *table, gint column, AtkObject *header); |
Sets the specified column header to header.
void atk_table_set_summary (AtkTable *table, AtkObject *accessible); |
Sets the summary description of the table.
table : | a GObject instance that implements AtkTableIface |
accessible : | an AtkObject representing the summary description to set for table |
gint atk_table_get_selected_columns (AtkTable *table, gint **selected); |
Gets the selected columns of the table by initializing **selected with the selected column numbers. This array should be freed by the caller.
table : | a GObject instance that implements AtkTableIface |
selected : | a gint** that is to contain the selected columns numbers |
Returns : | a gint representing the number of selected columns, or 0 if value does not implement this interface. |
gint atk_table_get_selected_rows (AtkTable *table, gint **selected); |
Gets the selected rows of the table by initializing **selected with the selected row numbers. This array should be freed by the caller.
table : | a GObject instance that implements AtkTableIface |
selected : | a gint** that is to contain the selected row numbers |
Returns : | a gint representing the number of selected rows, or zero if value does not implement this interface. |
gboolean atk_table_is_column_selected (AtkTable *table, gint column); |
Gets a boolean value indicating whether the specified column is selected
table : | a GObject instance that implements AtkTableIface |
column : | a gint representing a column in table |
Returns : | a gboolean representing if the column is selected, or 0 if value does not implement this interface. |
gboolean atk_table_is_row_selected (AtkTable *table, gint row); |
Gets a boolean value indicating whether the specified row is selected
table : | a GObject instance that implements AtkTableIface |
row : | a gint representing a row in table |
Returns : | a gboolean representing if the row is selected, or 0 if value does not implement this interface. |
gboolean atk_table_is_selected (AtkTable *table, gint row, gint column); |
Gets a boolean value indicating whether the accessible object at the specified row and column is selected
gboolean atk_table_add_column_selection (AtkTable *table, gint column); |
Adds the specified column to the selection.
table : | a GObject instance that implements AtkTableIface |
column : | a gint representing a column in table |
Returns : | a gboolean representing if the column was successfully added to the selection, or 0 if value does not implement this interface. |
gboolean atk_table_add_row_selection (AtkTable *table, gint row); |
Adds the specified row to the selection.
table : | a GObject instance that implements AtkTableIface |
row : | a gint representing a row in table |
Returns : | a gboolean representing if row was successfully added to selection, or 0 if value does not implement this interface. |
gboolean atk_table_remove_column_selection (AtkTable *table, gint column); |
Adds the specified column to the selection.
table : | a GObject instance that implements AtkTableIface |
column : | a gint representing a column in table |
Returns : | a gboolean representing if the column was successfully removed from the selection, or 0 if value does not implement this interface. |
gboolean atk_table_remove_row_selection (AtkTable *table, gint row); |
Removes the specified row from the selection.
table : | a GObject instance that implements AtkTableIface |
row : | a gint representing a row in table |
Returns : | a gboolean representing if the row was successfully removed from the selection, or 0 if value does not implement this interface. |