![]() |
![]() |
![]() |
libatspi Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Known Implementations |
AtspiTable; AtspiAccessible * atspi_table_get_caption (AtspiTable *obj
,GError **error
); AtspiAccessible * atspi_table_get_summary (AtspiTable *obj
,GError **error
); gint atspi_table_get_n_rows (AtspiTable *obj
,GError **error
); gint atspi_table_get_n_columns (AtspiTable *obj
,GError **error
); AtspiAccessible * atspi_table_get_accessible_at (AtspiTable *obj
,gint row
,gint column
,GError **error
); gint atspi_table_get_index_at (AtspiTable *obj
,gint row
,gint column
,GError **error
); gint atspi_table_get_row_at_index (AtspiTable *obj
,gint index
,GError **error
); gint atspi_table_get_column_at_index (AtspiTable *obj
,gint index
,GError **error
); gchar * atspi_table_get_row_description (AtspiTable *obj
,gint row
,GError **error
); gchar * atspi_table_get_column_description (AtspiTable *obj
,gint column
,GError **error
); gint atspi_table_get_row_extent_at (AtspiTable *obj
,gint row
,gint column
,GError **error
); gint atspi_table_get_column_extent_at (AtspiTable *obj
,gint row
,gint column
,GError **error
); AtspiAccessible * atspi_table_get_row_header (AtspiTable *obj
,gint row
,GError **error
); AtspiAccessible * atspi_table_get_column_header (AtspiTable *obj
,gint column
,GError **error
); gint atspi_table_get_n_selected_rows (AtspiTable *obj
,GError **error
); GArray * atspi_table_get_selected_rows (AtspiTable *obj
,GError **error
); GArray * atspi_table_get_selected_columns (AtspiTable *obj
,GError **error
); gint atspi_table_get_n_selected_columns (AtspiTable *obj
,GError **error
); gboolean atspi_table_is_row_selected (AtspiTable *obj
,gint row
,GError **error
); gboolean atspi_table_is_column_selected (AtspiTable *obj
,gint column
,GError **error
); gboolean atspi_table_add_row_selection (AtspiTable *obj
,gint row
,GError **error
); gboolean atspi_table_add_column_selection (AtspiTable *obj
,gint column
,GError **error
); gboolean atspi_table_remove_row_selection (AtspiTable *obj
,gint row
,GError **error
); gboolean atspi_table_remove_column_selection (AtspiTable *obj
,gint column
,GError **error
); 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
); gboolean atspi_table_is_selected (AtspiTable *obj
,gint row
,gint column
,GError **error
);
AtspiAccessible * atspi_table_get_caption (AtspiTable *obj
,GError **error
);
Get an accessible representation of the caption for an AtspiTable.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
an Accessible object that serves as the table's caption.. transfer full. |
AtspiAccessible * atspi_table_get_summary (AtspiTable *obj
,GError **error
);
Get an accessible object which summarizes the contents of an AtspiTable.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
an AtspiAccessible object that serves as the table's summary (often a reduced AtspiTable).. transfer full. |
gint atspi_table_get_n_rows (AtspiTable *obj
,GError **error
);
Get the number of rows in an AtspiTable, exclusive of any rows that are programmatically hidden, but inclusive of rows that may be outside of the current scrolling window or viewport.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
an integer indicating the number of rows in the table. |
gint atspi_table_get_n_columns (AtspiTable *obj
,GError **error
);
Get the number of columns in an AtspiTable, exclusive of any columns that are programmatically hidden, but inclusive of columns that may be outside of the current scrolling window or viewport.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
an integer indicating the number of columns in the table. |
AtspiAccessible * atspi_table_get_accessible_at (AtspiTable *obj
,gint row
,gint column
,GError **error
);
Get the table cell at the specified row and column indices.
To get the accessible object at a particular (x, y) screen coordinate,
use #atspi_component_get_accessible_at_point()
.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table row, zero-indexed. |
|
the specified table column, zero-indexed. |
|
|
Returns : |
an AtspiAccessible object representing the specified table cell.. transfer full. |
gint atspi_table_get_index_at (AtspiTable *obj
,gint row
,gint column
,GError **error
);
Get the 1-D child index corresponding to the specified 2-D row and column indices.
To get the accessible object at a particular (x, y) screen coordinate,
use #Accessible_getAccessibleAtPoint()
.
see
#atspi_table_getRowAtIndex()
, #atspi_table_getColumnAtIndex()
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table row, zero-indexed. |
|
the specified table column, zero-indexed. |
|
|
Returns : |
a long integer which serves as the index of a specified cell in the
table, in a form usable by #Accessible_getChildAtIndex() .
|
gint atspi_table_get_row_at_index (AtspiTable *obj
,gint index
,GError **error
);
Get the table row index occupied by the child at a particular 1-D child index.
see
#atspi_table_get_indexAt()
, #atspi_table_get_columnAtIndex()
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified child index, zero-indexed. |
|
|
Returns : |
a long integer indicating the first row spanned by the child of a
table, at the specified 1-D (zero-offset) index .
|
gint atspi_table_get_column_at_index (AtspiTable *obj
,gint index
,GError **error
);
Get the table column index occupied by the child at a particular 1-D child index.
see
#atspi_table_getIndexAt()
, #atspi_table_getRowAtIndex()
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified child index, zero-indexed. |
|
|
Returns : |
a long integer indicating the first column spanned by the child of a
table, at the specified 1-D (zero-offset) index .
|
gchar * atspi_table_get_row_description (AtspiTable *obj
,gint row
,GError **error
);
Get a text description of a particular table row. This differs from atspi_table_get_row_header, which returns an AtspiAccessible.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table row, zero-indexed. |
|
|
Returns : |
a UTF-8 string describing the specified table row, if available. |
gchar * atspi_table_get_column_description (AtspiTable *obj
,gint column
,GError **error
);
Get a text description of a particular table column. This differs from atspi_table_get_column_header, which returns an Accessible.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table column, zero-indexed. |
|
|
Returns : |
a UTF-8 string describing the specified table column, if available. |
gint atspi_table_get_row_extent_at (AtspiTable *obj
,gint row
,gint column
,GError **error
);
Get the number of rows spanned by the table cell at the specific row and column. (some tables can have cells which span multiple rows and/or columns).
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table row, zero-indexed. |
|
the specified table column, zero-indexed. |
|
|
Returns : |
a long integer indicating the number of rows spanned by the specified cell. |
gint atspi_table_get_column_extent_at (AtspiTable *obj
,gint row
,gint column
,GError **error
);
Get the number of columns spanned by the table cell at the specific row and column. (some tables can have cells which span multiple rows and/or columns).
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table row, zero-indexed. |
|
the specified table column, zero-indexed. |
|
|
Returns : |
a long integer indicating the number of columns spanned by the specified cell. |
AtspiAccessible * atspi_table_get_row_header (AtspiTable *obj
,gint row
,GError **error
);
Get the header associated with a table row, if available. This differs from atspi_table_get_row_description, which returns a string.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table row, zero-indexed. |
|
|
Returns : |
a Accessible representatin of the specified table row, if available.. transfer full. |
AtspiAccessible * atspi_table_get_column_header (AtspiTable *obj
,gint column
,GError **error
);
Get the header associated with a table column, if available. This differs from atspi_table_get_column_description, which returns a string.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the specified table column, zero-indexed. |
|
|
Returns : |
a AtspiAccessible representation of the specified table column, if available.. transfer full. |
gint atspi_table_get_n_selected_rows (AtspiTable *obj
,GError **error
);
Query a table to find out how many rows are currently selected. Not all tables support row selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
a long integer indicating the number of rows currently selected. |
GArray * atspi_table_get_selected_rows (AtspiTable *obj
,GError **error
);
Query a table for a list of indices of rows which are currently selected.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
an array of integers, specifying which rows are currently selected.. element-type gint. transfer full gint. |
GArray * atspi_table_get_selected_columns (AtspiTable *obj
,GError **error
);
Query a table for a list of indices of columns which are currently selected.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
an array of integers, specifying which columns are currently selected.. element-type gint. transfer full gint. |
gint atspi_table_get_n_selected_columns (AtspiTable *obj
,GError **error
);
Query a table to find out how many columns are currently selected. Not all tables support column selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
|
Returns : |
a long integer indicating the number of columns currently selected. |
gboolean atspi_table_is_row_selected (AtspiTable *obj
,gint row
,GError **error
);
Determine whether a table row is selected. Not all tables support row selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the zero-indexed row number of the row being queried. |
|
|
Returns : |
TRUE if the specified row is currently selected, FALSE if not. |
gboolean atspi_table_is_column_selected (AtspiTable *obj
,gint column
,GError **error
);
Determine whether specified table column is selected. Not all tables support column selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the zero-indexed column number of the column being queried. |
|
|
Returns : |
TRUE if the specified column is currently selected, FALSE if not. |
gboolean atspi_table_add_row_selection (AtspiTable *obj
,gint row
,GError **error
);
Select the specified row, adding it to the current row selection. Not all tables support row selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the zero-indexed row number of the row being selected. |
|
|
Returns : |
TRUE if the specified row was successfully selected, FALSE if not. |
gboolean atspi_table_add_column_selection (AtspiTable *obj
,gint column
,GError **error
);
Select the specified column, adding it to the current column selection. Not all tables support column selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the zero-indexed column number of the column being selected. |
|
|
Returns : |
TRUE if the specified column was successfully selected, FALSE if not. |
gboolean atspi_table_remove_row_selection (AtspiTable *obj
,gint row
,GError **error
);
De-select the specified row, removing it to the current row selection. Not all tables support row selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the zero-indexed number of the row being deselected. |
|
|
Returns : |
TRUE if the specified row was successfully de-selected, FALSE if not. |
gboolean atspi_table_remove_column_selection (AtspiTable *obj
,gint column
,GError **error
);
De-select the specified column, removing it to the current column selection. Not all tables support column selection.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the zero-indexed column number of the column being de-selected. |
|
|
Returns : |
TRUE if the specified column was successfully de-selected, FALSE if not. |
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
);
Given a child index, determine the row and column indices and extents, and whether the cell is currently selected. If the child at \c index is not a cell (for instance, if it is a summary, caption, etc.), \c False is returned.
Example: If the Table child at index '6' extends across columns 5 and 6 of row 2 of a Table instance, and is currently selected, then
retval = table::getRowColumnExtentsAtIndex (6, row, col, row_extents, col_extents, is_selected);
will return True, and after the call row, col, row_extents, col_extents, and \c is_selected will contain 2, 5, 1, 2, and True, respectively.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the index of the Table child whose row/column extents are requested. |
|
back-filled with the first table row associated with the cell with child index \c index. |
|
back-filled with the first table column associated with the cell with child index \c index. |
|
back-filled with the number of table rows across which child \c i extends. |
|
back-filled with the number of table columns across which child \c i extends. |
|
a boolean which is back-filled with \c True if the child at index \c i corresponds to a selected table cell, \c False otherwise. |
|
|
Returns : |
\c True if the index is associated with a valid table cell, \c False if the index does not correspond to a cell. If \c False is returned, the values of the out parameters are undefined. |
gboolean atspi_table_is_selected (AtspiTable *obj
,gint row
,gint column
,GError **error
);
Determine whether the cell at a specific row and column is selected.
|
a pointer to the AtspiTable implementor on which to operate. |
|
the zero-indexed row of the cell being queried. |
|
the zero-indexed column of the cell being queried. |
|
|
Returns : |
TRUE if the specified cell is currently selected, FALSE if not. |