2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
5 * Copyright 2002 Ximian, Inc.
6 * 2002 Sun Microsystems Inc.
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library; if not, write to the
21 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
22 * Boston, MA 02111-1307, USA.
25 #ifndef _ATSPI_TABLE_H_
26 #define _ATSPI_TABLE_H_
28 #include "glib-object.h"
30 #include "atspi-constants.h"
32 #include "atspi-types.h"
34 #define ATSPI_TYPE_TABLE (atspi_table_get_type ())
35 #define ATSPI_IS_TABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_TABLE)
36 #define ATSPI_TABLE(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_TABLE, AtspiTable)
37 #define ATSPI_TABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATSPI_TYPE_TABLE, AtspiTable))
39 GType atspi_table_get_type ();
43 GTypeInterface parent;
46 AtspiAccessible * atspi_table_get_caption (AtspiTable *obj, GError **error);
48 AtspiAccessible * atspi_table_get_summary (AtspiTable *obj, GError **error);
50 gint atspi_table_get_n_rows (AtspiTable *obj, GError **error);
52 gint atspi_table_get_n_columns (AtspiTable *obj, GError **error);
54 AtspiAccessible * atspi_table_get_accessible_at (AtspiTable *obj, gint row, gint column, GError **error);
56 gint atspi_table_get_index_at (AtspiTable *obj, gint row, gint column, GError **error);
58 gint atspi_table_get_row_at_index (AtspiTable *obj, gint index, GError **error);
60 gint atspi_table_get_column_at_index (AtspiTable *obj, gint index, GError **error);
62 gchar * atspi_table_get_row_description (AtspiTable *obj, gint row, GError **error);
64 gchar * atspi_table_get_column_description (AtspiTable *obj, gint column, GError **error);
67 atspi_table_get_row_extent_at (AtspiTable *obj, gint row, gint column, GError **error);
70 atspi_table_get_column_extent_at (AtspiTable *obj, gint row, gint column, GError **error);
72 AtspiAccessible * atspi_table_get_row_header (AtspiTable *obj, gint row, GError **error);
74 AtspiAccessible * atspi_table_get_column_header (AtspiTable *obj, gint column, GError **error);
76 gint atspi_table_get_n_selected_rows (AtspiTable *obj, GError **error);
78 GArray *atspi_table_get_selected_rows (AtspiTable *obj, GError **error);
80 GArray * atspi_table_get_selected_columns (AtspiTable *obj, GError **error);
82 gint atspi_table_get_n_selected_columns (AtspiTable *obj, GError **error);
84 gboolean atspi_table_is_row_selected (AtspiTable *obj, gint row, GError **error);
86 gboolean atspi_table_is_column_selected (AtspiTable *obj, gint column, GError **error);
88 gboolean atspi_table_add_row_selection (AtspiTable *obj, gint row, GError **error);
90 gboolean atspi_table_add_column_selection (AtspiTable *obj, gint column, GError **error);
92 gboolean atspi_table_remove_row_selection (AtspiTable *obj, gint row, GError **error);
94 gboolean atspi_table_remove_column_selection (AtspiTable *obj, gint column, GError **error);
96 gboolean atspi_table_get_row_column_extents_at_index (AtspiTable *obj, gint index, gint *row, gint *col, gint *row_extents, gint *col_extents, gboolean *is_selected, GError **error);
98 gboolean atspi_table_is_selected (AtspiTable *obj, gint row, gint column, GError **error);
100 #endif /* _ATSPI_TABLE_H_ */