3 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
5 * Increment the reference count for an #AccessibleTable object.
7 * Returns: (no return code implemented yet).
11 AccessibleTable_ref (AccessibleTable *obj)
13 Accessibility_Table_ref (*obj, &ev);
20 * AccessibleTable_unref:
21 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
23 * Decrement the reference count for an #AccessibleTable object.
25 * Returns: (no return code implemented yet).
29 AccessibleTable_unref (AccessibleTable *obj)
31 Accessibility_Table_unref (*obj, &ev);
36 * AccessibleTable_getCaption:
37 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
39 * Get an accessible representation of the caption for an #AccessibleTable.
41 * Returns: an #Accessible object that serves as the table's caption.
45 AccessibleTable_getCaption (AccessibleTable *obj)
48 Accessibility_Table__get_caption (*obj, &ev);
54 * AccessibleTable_getSummary:
55 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
57 * Get an accessible object which summarizes the contents of an #AccessibleTable.
59 * Returns: an #Accessible object that serves as the table's summary (often a
60 * reduced #AccessibleTable).
64 AccessibleTable_getSummary (AccessibleTable *obj)
67 Accessibility_Table__get_summary (*obj, &ev);
73 * AccessibleTable_getNRows:
74 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
76 * Get the number of rows in an #AccessibleTable,
77 * exclusive of any rows that are programmatically hidden, but inclusive
78 * of rows that may be outside of the current scrolling window or viewport.
80 * Returns: a #long integer indicating the number of rows in the table.
84 AccessibleTable_getNRows (AccessibleTable *obj)
87 Accessibility_Table__get_nRows (*obj, &ev);
93 * AccessibleTable_getNColumns:
94 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
96 * Get the number of columns in an #AccessibleTable,
97 * exclusive of any columns that are programmatically hidden, but inclusive
98 * of columns that may be outside of the current scrolling window or viewport.
100 * Returns: a #long integer indicating the number of columns in the table.
104 AccessibleTable_getNColumns (AccessibleTable *obj)
107 Accessibility_Table__get_nColumns (*obj, &ev);
112 * AccessibleTable_getAccessibleAt:
113 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
114 * @row: the specified table row, zero-indexed.
115 * @column: the specified table column, zero-indexed.
117 * Get the table cell at the specified row and column indices.
118 * To get the accessible object at a particular (x, y) screen coordinate,
119 * use #Accessible_getAccessibleAtPoint ().
121 * Returns: an #Accessible object representing the specified table cell.
125 AccessibleTable_getAccessibleAt (AccessibleTable *obj,
129 return (Accessible *)
130 Accessibility_Table_getAccessibleAt (*obj,
131 (CORBA_long) row, (CORBA_long) column, &ev);
136 * AccessibleTable_getIndexAt:
137 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
138 * @row: the specified table row, zero-indexed.
139 * @column: the specified table column, zero-indexed.
141 * Get the 1-D child index corresponding to the specified 2-D row and column indices.
142 * To get the accessible object at a particular (x, y) screen coordinate,
143 * use #Accessible_getAccessibleAtPoint ().
144 * @see #AccessibleTable_getRowAtIndex(), #AccessibleTable_getColumnAtIndex()
146 * Returns: a long integer which serves as the index of a specified cell in the
147 * table, in a form usable by #Accessible_getChildAtIndex().
151 AccessibleTable_getIndexAt (AccessibleTable *obj,
156 Accessibility_Table_getIndexAt (*obj,
157 (CORBA_long) row, (CORBA_long) column, &ev);
163 * AccessibleTable_getRowAtIndex:
164 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
165 * @index: the specified child index, zero-indexed.
167 * Get the table row index occupied by the child at a particular 1-D child index.
169 * @see #AccessibleTable_getIndexAt(), #AccessibleTable_getColumnAtIndex()
171 * Returns: a long integer indicating the first row spanned by the child of a
172 * table, at the specified 1-D (zero-offset) @index.
176 AccessibleTable_getRowAtIndex (AccessibleTable *obj,
180 Accessibility_Table_getRowAtIndex (*obj,
181 (CORBA_long) index, &ev);
187 * AccessibleTable_getColumnAtIndex:
188 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
189 * @index: the specified child index, zero-indexed.
191 * Get the table column index occupied by the child at a particular 1-D child index.
193 * @see #AccessibleTable_getIndexAt(), #AccessibleTable_getRowAtIndex()
195 * Returns: a long integer indicating the first column spanned by the child of a
196 * table, at the specified 1-D (zero-offset) @index.
200 AccessibleTable_getColumnAtIndex (AccessibleTable *obj,
204 Accessibility_Table_getColumnAtIndex (*obj,
205 (CORBA_long) index, &ev);
211 * AccessibleTable_getRowDescription:
212 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
213 * @row: the specified table row, zero-indexed.
215 * Get a text description of a particular table row. This differs from
216 * AccessibleTable_getRowHeader, which returns an #Accessible.
218 * Returns: a UTF-8 string describing the specified table row, if available.
222 AccessibleTable_getRowDescription (AccessibleTable *obj,
226 Accessibility_Table_getRowDescription (*obj,
227 (CORBA_long) row, &ev);
233 * AccessibleTable_getColumnDescription:
234 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
235 * @column: the specified table column, zero-indexed.
237 * Get a text description of a particular table column. This differs from
238 * AccessibleTable_getColumnHeader, which returns an #Accessible.
240 * Returns: a UTF-8 string describing the specified table column, if available.
244 AccessibleTable_getColumnDescription (AccessibleTable *obj,
248 Accessibility_Table_getColumnDescription (*obj,
249 (CORBA_long) column, &ev);
255 * AccessibleTable_getRowExtentAt:
256 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
257 * @row: the specified table row, zero-indexed.
258 * @column: the specified table column, zero-indexed.
260 * Get the number of rows spanned by the table cell at the specific row and column.
261 * (some tables can have cells which span multiple rows and/or columns).
263 * Returns: a long integer indicating the number of rows spanned by the specified cell.
267 AccessibleTable_getRowExtentAt (AccessibleTable *obj,
272 Accessibility_Table_getRowExtentAt (*obj,
273 (CORBA_long) row, (CORBA_long) column, &ev);
279 * AccessibleTable_getColumnExtentAt:
280 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
281 * @row: the specified table row, zero-indexed.
282 * @column: the specified table column, zero-indexed.
284 * Get the number of columns spanned by the table cell at the specific row and column.
285 * (some tables can have cells which span multiple rows and/or columns).
287 * Returns: a long integer indicating the number of columns spanned by the specified cell.
291 AccessibleTable_getColumnExtentAt (AccessibleTable *obj,
296 Accessibility_Table_getColumnExtentAt (*obj,
297 (CORBA_long) row, (CORBA_long) column, &ev);
302 * AccessibleTable_getRowHeader:
303 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
304 * @row: the specified table row, zero-indexed.
306 * Get the header associated with a table row, if available. This differs from
307 * AccessibleTable_getRowDescription, which returns a string.
309 * Returns: a #Accessible representatin of the specified table row, if available.
313 AccessibleTable_getRowHeader (AccessibleTable *obj,
316 return (Accessible *)
317 Accessibility_Table_getRowHeader (*obj,
318 (CORBA_long) row, &ev);
324 * AccessibleTable_getColumnHeader:
325 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
326 * @column: the specified table column, zero-indexed.
328 * Get the header associated with a table column, if available. This differs from
329 * AccessibleTable_getColumnDescription, which returns a string.
331 * Returns: a #Accessible representatin of the specified table column, if available.
335 AccessibleTable_getColumnHeader (AccessibleTable *obj,
338 return (Accessible *)
339 Accessibility_Table_getColumnHeader (*obj,
340 (CORBA_long) column, &ev);
345 * AccessibleTable_getNSelectedRows:
346 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
348 * Query a table to find out how many rows are currently selected. Not all tables
349 * support row selection.
351 * Returns: a long integer indicating the number of rows currently selected.
354 AccessibleTable_getNSelectedRows (AccessibleTable *obj)
357 Accessibility_Table__get_nSelectedRows (*obj, &ev);
363 * AccessibleTable_getSelectedRows:
364 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
365 * @selectedRows: a doubly indirected pointer which will be set to the address
366 * of an array of long integers, specifying which rows are currently selected.
368 * Query a table for a list of indices of rows which are currently selected.
370 * Returns: a long integer indicating the length of the array returned in @selectedRows.
373 AccessibleTable_getSelectedRows (AccessibleTable *obj,
374 long int **selectedRows)
376 Accessibility_LongSeq *rows = Accessibility_Table_getSelectedRows (*obj, &ev);
382 length = (long) rows->_length;
383 j = *selectedRows = (long *) malloc (sizeof(long)*length);
386 *j++ = (CORBA_long) (*i++);
388 length = rows->_length;
396 * AccessibleTable_getNSelectedColumns:
397 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
399 * Query a table to find out how many columnss are currently selected. Not all tables
400 * support column selection.
402 * Returns: a long integer indicating the number of columns currently selected.
405 AccessibleTable_getNSelectedColumns (AccessibleTable *obj)
408 Accessibility_Table__get_nSelectedColumns (*obj, &ev);
413 * AccessibleTable_getSelectedColumns:
414 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
415 * @selectedColumns: a doubly indirected pointer which will be set to the address
416 * of an array of long integers, specifying which columns are currently selected.
418 * Query a table for a list of indices of columns which are currently selected.
419 * Not all tables support column selection.
421 * Returns: a long integer indicating the length of the array returned in @selectedColumns.
424 AccessibleTable_getSelectedColumns (AccessibleTable *obj,
425 long int **selectedColumns)
427 Accessibility_LongSeq *columns = Accessibility_Table_getSelectedColumns (*obj, &ev);
432 i = columns->_buffer;
433 length = (long) columns->_length;
434 j = *selectedColumns = (long *) malloc (sizeof(long)*length);
437 *j++ = (CORBA_long) (*i++);
439 length = columns->_length;
440 CORBA_free (columns);
446 * AccessibleTable_isRowSelected:
447 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
450 * Determine whether a table row is selected. Not all tables support row selection.
452 * Returns: #TRUE if the specified row is currently selected, #FALSE if not.
456 AccessibleTable_isRowSelected (AccessibleTable *obj,
460 Accessibility_Table_isRowSelected (*obj,
461 (CORBA_long) row, &ev);
467 * AccessibleTable_isColumnSelected:
468 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
471 * Determine whether specified table column is selected.
472 * Not all tables support column selection.
474 * Returns: #TRUE if the specified column is currently selected, #FALSE if not.
478 AccessibleTable_isColumnSelected (AccessibleTable *obj,
482 Accessibility_Table_isColumnSelected (*obj,
483 (CORBA_long) column, &ev);
489 * AccessibleTable_isSelected:
490 * @obj: a pointer to the #AccessibleTable implementor on which to operate.
494 * Determine whether the cell at a specific row and column is selected.
496 * Returns: #TRUE if the specified cell is currently selected, #FALSE if not.
500 AccessibleTable_isSelected (AccessibleTable *obj,
505 Accessibility_Table_isSelected (*obj,
506 (CORBA_long) row, (CORBA_long) column, &ev);