diff options
author | Brian Cameron <bcameron@src.gnome.org> | 2001-06-13 11:14:32 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2001-06-13 11:14:32 +0000 |
commit | 185c94f983996ae63d2d5adbf743a400434913e1 (patch) | |
tree | 93ef9907c527a65385785531c7c4627661609737 /atk/atktable.h | |
parent | 51f3b4ae25be17ad62e0258d36c7825587ad21ab (diff) | |
download | atk-185c94f983996ae63d2d5adbf743a400434913e1.tar.gz |
Updated so that get/set row/column header functions
work with AtkObjects rather than AtkTables. Organized
the header file a little more cleanly.
Diffstat (limited to 'atk/atktable.h')
-rwxr-xr-x | atk/atktable.h | 86 |
1 files changed, 45 insertions, 41 deletions
diff --git a/atk/atktable.h b/atk/atktable.h index 87ab435..a7f7dca 100755 --- a/atk/atktable.h +++ b/atk/atktable.h @@ -53,35 +53,28 @@ struct _AtkTableIface gint (* get_index_at) (AtkTable *table, gint row, gint column); - gint (* get_row_at_index) (AtkTable *table, - gint index); gint (* get_column_at_index) (AtkTable *table, gint index); - AtkObject* (* get_caption) (AtkTable *table); + gint (* get_row_at_index) (AtkTable *table, + gint index); gint (* get_n_columns) (AtkTable *table); - AtkObject* (* get_column_description) (AtkTable *table, - gint column); + gint (* get_n_rows) (AtkTable *table); gint (* get_column_extent_at) (AtkTable *table, gint row, gint column); - AtkTable* (* get_column_header) (AtkTable *table); - gint (* get_n_rows) (AtkTable *table); - AtkObject* (* get_row_description) (AtkTable *table, - gint row); gint (* get_row_extent_at) (AtkTable *table, gint row, gint column); - AtkTable* (* get_row_header) (AtkTable *table); - AtkObject* (* get_summary) (AtkTable *table); - gint* (* get_selected_columns) (AtkTable *table); - gint* (* get_selected_rows) (AtkTable *table); - gboolean (* is_column_selected) (AtkTable *table, + AtkObject* (* get_caption) (AtkTable *table); + AtkObject* (* get_column_description) (AtkTable *table, gint column); - gboolean (* is_row_selected) (AtkTable *table, + AtkObject* (* get_column_header) (AtkTable *table, + gint column); + AtkObject* (* get_row_description) (AtkTable *table, gint row); - gboolean (* is_selected) (AtkTable *table, - gint row, - gint column); + AtkObject* (* get_row_header) (AtkTable *table, + gint row); + AtkObject* (* get_summary) (AtkTable *table); void (* set_caption) (AtkTable *table, AtkObject *accessible); void (* set_column_description) (AtkTable *table, @@ -89,15 +82,24 @@ struct _AtkTableIface AtkObject *accessible); void (* set_column_header) (AtkTable *table, gint column, - AtkTable *header); + AtkObject *header); void (* set_row_description) (AtkTable *table, gint row, AtkObject *accessible); void (* set_row_header) (AtkTable *table, gint row, - AtkTable *header); + AtkObject *header); void (* set_summary) (AtkTable *table, AtkObject *accessible); + gint* (* get_selected_columns) (AtkTable *table); + gint* (* get_selected_rows) (AtkTable *table); + 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); /* * signal handlers */ @@ -117,35 +119,28 @@ AtkObject* atk_table_ref_at (AtkTable *table, gint atk_table_get_index_at (AtkTable *table, gint row, gint column); -gint atk_table_get_row_at_index (AtkTable *table, - gint index); gint atk_table_get_column_at_index (AtkTable *table, gint index); -AtkObject* atk_table_get_caption (AtkTable *table); +gint atk_table_get_row_at_index (AtkTable *table, + gint index); gint atk_table_get_n_columns (AtkTable *table); -AtkObject* atk_table_get_column_description (AtkTable *table, - gint column); +gint atk_table_get_n_rows (AtkTable *table); gint atk_table_get_column_extent_at (AtkTable *table, gint row, gint column); -AtkTable* atk_table_get_column_header (AtkTable *table); -gint atk_table_get_n_rows (AtkTable *table); -AtkObject* atk_table_get_row_description (AtkTable *table, - gint r); gint atk_table_get_row_extent_at (AtkTable *table, gint row, gint column); -AtkTable* atk_table_get_row_header (AtkTable *table); +AtkObject* atk_table_get_caption (AtkTable *table); +AtkObject* atk_table_get_column_description (AtkTable *table, + gint column); +AtkObject* atk_table_get_column_header (AtkTable *table, + gint column); +AtkObject* atk_table_get_row_description (AtkTable *table, + gint r); +AtkObject* atk_table_get_row_header (AtkTable *table, + gint row); AtkObject* atk_table_get_summary (AtkTable *table); -gint* atk_table_get_selected_columns (AtkTable *table); -gint* atk_table_get_selected_rows (AtkTable *table); -gboolean atk_table_is_column_selected (AtkTable *table, - gint column); -gboolean atk_table_is_row_selected (AtkTable *table, - gint row); -gboolean atk_table_is_selected (AtkTable *table, - gint row, - gint column); void atk_table_set_caption (AtkTable *table, AtkObject *accessible); void atk_table_set_column_description (AtkTable *table, @@ -153,15 +148,24 @@ void atk_table_set_column_description (AtkTable *table, AtkObject *accessible); void atk_table_set_column_header (AtkTable *table, gint column, - AtkTable *header); + AtkObject *header); void atk_table_set_row_description (AtkTable *table, gint row, AtkObject *accessible); void atk_table_set_row_header (AtkTable *table, gint row, - AtkTable *header); + AtkObject *header); void atk_table_set_summary (AtkTable *table, AtkObject *accessible); +gint* atk_table_get_selected_columns (AtkTable *table); +gint* atk_table_get_selected_rows (AtkTable *table); +gboolean atk_table_is_column_selected (AtkTable *table, + gint column); +gboolean atk_table_is_row_selected (AtkTable *table, + gint row); +gboolean atk_table_is_selected (AtkTable *table, + gint row, + gint column); #ifdef __cplusplus } |