File indexing completed on 2025-01-30 09:32:48
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020 #ifndef __ATK_TABLE_H__
0021 #define __ATK_TABLE_H__
0022
0023 #if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined(__ATK_H_INSIDE__) && !defined(ATK_COMPILATION)
0024 #error "Only <atk/atk.h> can be included directly."
0025 #endif
0026
0027 #include <atk/atkobject.h>
0028
0029 G_BEGIN_DECLS
0030
0031 #define ATK_TYPE_TABLE (atk_table_get_type ())
0032 #define ATK_IS_TABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_TABLE)
0033 #define ATK_TABLE(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_TABLE, AtkTable)
0034 #define ATK_TABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), ATK_TYPE_TABLE, AtkTableIface))
0035
0036 #ifndef _TYPEDEF_ATK_TABLE_
0037 #define _TYPEDEF_ATK_TABLE_
0038 typedef struct _AtkTable AtkTable;
0039 #endif
0040 typedef struct _AtkTableIface AtkTableIface;
0041
0042 struct _AtkTableIface
0043 {
0044 GTypeInterface parent;
0045
0046 AtkObject *(*ref_at) (AtkTable *table,
0047 gint row,
0048 gint column);
0049 gint (*get_index_at) (AtkTable *table,
0050 gint row,
0051 gint column);
0052 gint (*get_column_at_index) (AtkTable *table,
0053 gint index_);
0054 gint (*get_row_at_index) (AtkTable *table,
0055 gint index_);
0056 gint (*get_n_columns) (AtkTable *table);
0057 gint (*get_n_rows) (AtkTable *table);
0058 gint (*get_column_extent_at) (AtkTable *table,
0059 gint row,
0060 gint column);
0061 gint (*get_row_extent_at) (AtkTable *table,
0062 gint row,
0063 gint column);
0064 AtkObject *(*get_caption) (AtkTable *table);
0065 const gchar *(*get_column_description) (AtkTable *table,
0066 gint column);
0067 AtkObject *(*get_column_header) (AtkTable *table,
0068 gint column);
0069 const gchar *(*get_row_description) (AtkTable *table,
0070 gint row);
0071 AtkObject *(*get_row_header) (AtkTable *table,
0072 gint row);
0073 AtkObject *(*get_summary) (AtkTable *table);
0074 void (*set_caption) (AtkTable *table,
0075 AtkObject *caption);
0076 void (*set_column_description) (AtkTable *table,
0077 gint column,
0078 const gchar *description);
0079 void (*set_column_header) (AtkTable *table,
0080 gint column,
0081 AtkObject *header);
0082 void (*set_row_description) (AtkTable *table,
0083 gint row,
0084 const gchar *description);
0085 void (*set_row_header) (AtkTable *table,
0086 gint row,
0087 AtkObject *header);
0088 void (*set_summary) (AtkTable *table,
0089 AtkObject *accessible);
0090 gint (*get_selected_columns) (AtkTable *table,
0091 gint **selected);
0092 gint (*get_selected_rows) (AtkTable *table,
0093 gint **selected);
0094 gboolean (*is_column_selected) (AtkTable *table,
0095 gint column);
0096 gboolean (*is_row_selected) (AtkTable *table,
0097 gint row);
0098 gboolean (*is_selected) (AtkTable *table,
0099 gint row,
0100 gint column);
0101 gboolean (*add_row_selection) (AtkTable *table,
0102 gint row);
0103 gboolean (*remove_row_selection) (AtkTable *table,
0104 gint row);
0105 gboolean (*add_column_selection) (AtkTable *table,
0106 gint column);
0107 gboolean (*remove_column_selection) (AtkTable *table,
0108 gint column);
0109
0110
0111
0112
0113 void (*row_inserted) (AtkTable *table,
0114 gint row,
0115 gint num_inserted);
0116 void (*column_inserted) (AtkTable *table,
0117 gint column,
0118 gint num_inserted);
0119 void (*row_deleted) (AtkTable *table,
0120 gint row,
0121 gint num_deleted);
0122 void (*column_deleted) (AtkTable *table,
0123 gint column,
0124 gint num_deleted);
0125 void (*row_reordered) (AtkTable *table);
0126 void (*column_reordered) (AtkTable *table);
0127 void (*model_changed) (AtkTable *table);
0128 };
0129
0130 ATK_AVAILABLE_IN_ALL
0131 GType atk_table_get_type (void);
0132
0133 ATK_AVAILABLE_IN_ALL
0134 AtkObject *atk_table_ref_at (AtkTable *table,
0135 gint row,
0136 gint column);
0137 ATK_DEPRECATED_IN_2_12_FOR (atk_table_ref_at)
0138 gint atk_table_get_index_at (AtkTable *table,
0139 gint row,
0140 gint column);
0141 ATK_DEPRECATED_IN_2_12
0142 gint atk_table_get_column_at_index (AtkTable *table,
0143 gint index_);
0144 ATK_DEPRECATED_IN_2_12
0145 gint atk_table_get_row_at_index (AtkTable *table,
0146 gint index_);
0147 ATK_AVAILABLE_IN_ALL
0148 gint atk_table_get_n_columns (AtkTable *table);
0149 ATK_AVAILABLE_IN_ALL
0150 gint atk_table_get_n_rows (AtkTable *table);
0151 ATK_AVAILABLE_IN_ALL
0152 gint atk_table_get_column_extent_at (AtkTable *table,
0153 gint row,
0154 gint column);
0155 ATK_AVAILABLE_IN_ALL
0156 gint atk_table_get_row_extent_at (AtkTable *table,
0157 gint row,
0158 gint column);
0159 ATK_AVAILABLE_IN_ALL
0160 AtkObject *
0161 atk_table_get_caption (AtkTable *table);
0162 ATK_AVAILABLE_IN_ALL
0163 const gchar *atk_table_get_column_description (AtkTable *table,
0164 gint column);
0165 ATK_AVAILABLE_IN_ALL
0166 AtkObject *atk_table_get_column_header (AtkTable *table,
0167 gint column);
0168 ATK_AVAILABLE_IN_ALL
0169 const gchar *atk_table_get_row_description (AtkTable *table,
0170 gint row);
0171 ATK_AVAILABLE_IN_ALL
0172 AtkObject *atk_table_get_row_header (AtkTable *table,
0173 gint row);
0174 ATK_AVAILABLE_IN_ALL
0175 AtkObject *atk_table_get_summary (AtkTable *table);
0176 ATK_AVAILABLE_IN_ALL
0177 void atk_table_set_caption (AtkTable *table,
0178 AtkObject *caption);
0179 ATK_AVAILABLE_IN_ALL
0180 void atk_table_set_column_description (AtkTable *table,
0181 gint column,
0182 const gchar *description);
0183 ATK_AVAILABLE_IN_ALL
0184 void atk_table_set_column_header (AtkTable *table,
0185 gint column,
0186 AtkObject *header);
0187 ATK_AVAILABLE_IN_ALL
0188 void atk_table_set_row_description (AtkTable *table,
0189 gint row,
0190 const gchar *description);
0191 ATK_AVAILABLE_IN_ALL
0192 void atk_table_set_row_header (AtkTable *table,
0193 gint row,
0194 AtkObject *header);
0195 ATK_AVAILABLE_IN_ALL
0196 void atk_table_set_summary (AtkTable *table,
0197 AtkObject *accessible);
0198 ATK_AVAILABLE_IN_ALL
0199 gint atk_table_get_selected_columns (AtkTable *table,
0200 gint **selected);
0201 ATK_AVAILABLE_IN_ALL
0202 gint atk_table_get_selected_rows (AtkTable *table,
0203 gint **selected);
0204 ATK_AVAILABLE_IN_ALL
0205 gboolean atk_table_is_column_selected (AtkTable *table,
0206 gint column);
0207 ATK_AVAILABLE_IN_ALL
0208 gboolean atk_table_is_row_selected (AtkTable *table,
0209 gint row);
0210 ATK_AVAILABLE_IN_ALL
0211 gboolean atk_table_is_selected (AtkTable *table,
0212 gint row,
0213 gint column);
0214 ATK_AVAILABLE_IN_ALL
0215 gboolean atk_table_add_row_selection (AtkTable *table,
0216 gint row);
0217 ATK_AVAILABLE_IN_ALL
0218 gboolean atk_table_remove_row_selection (AtkTable *table,
0219 gint row);
0220 ATK_AVAILABLE_IN_ALL
0221 gboolean atk_table_add_column_selection (AtkTable *table,
0222 gint column);
0223 ATK_AVAILABLE_IN_ALL
0224 gboolean atk_table_remove_column_selection (AtkTable *table,
0225 gint column);
0226
0227 G_END_DECLS
0228
0229 #endif