Method

AtspiTableget_index_at

Declaration [src]

gint
atspi_table_get_index_at (
  AtspiTable* obj,
  gint row,
  gint column,
  GError** error
)

Description [src]

Gets 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 #atspi_component_get_accessible_at_point.

see #atspi_table_get_row_at_index, #atspi_table_get_column_at_index.

Parameters

row

Type: gint

The specified table row, zero-indexed.

column

Type: gint

The specified table column, zero-indexed.

error

Type: GError **

The return location for a recoverable error.

The argument can be NULL.
If the return location is not NULL, then you must initialize it to a NULL GError*.
The argument will be left initialized to NULL by the method if there are no errors.
In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.

Return value

Type: gint

A #gint which serves as the index of a specified cell in the table, in a form usable by #atspi_get_child_at_index.