/**
* atk_table_get_column_header:
* @table: a GObject instance that implements AtkTableIface
+ * @column: a #gint representing a column in the table
*
- * Gets the column headers of an accessible table.
+ * Gets the column header of a specified column in an accessible table.
* Note: callers should not rely on %NULL or on a zero value for
* indication of whether AtkSelectionIface is implemented, they should
* use type checking/interface checking macros or the
* atk_get_accessible_table() convenience method.
*
- * Returns: a AtkObject* representing the column headers, or %NULL
- * if value does not implement this interface.
+ * Returns: a AtkObject* representing the specified column header, or
+ * %NULL if value does not implement this interface.
**/
-AtkTable*
-atk_table_get_column_header (AtkTable *obj)
+AtkObject*
+atk_table_get_column_header (AtkTable *obj, gint column)
{
AtkTableIface *iface;
iface = ATK_TABLE_GET_IFACE (obj);
if (iface->get_column_header)
- return (iface->get_column_header) (obj);
+ return (iface->get_column_header) (obj, column);
else
return NULL;
}
/**
* atk_table_get_row_header:
* @table: a GObject instance that implements AtkTableIface
+ * @row: a #gint representing a row in the table
*
- * Gets the row headers of an accessible table.
+ * Gets the row header of a specified row in an accessible table.
* Note: callers should not rely on %NULL or on a zero value for
* indication of whether AtkSelectionIface is implemented, they should
* use type checking/interface checking macros or the
* atk_get_accessible_table() convenience method.
*
- * Returns: a AtkTable* representing the row headers, or %NULL
- * if value does not implement this interface.
+ * Returns: a AtkObject* representing the specified row header, or
+ * %NULL if value does not implement this interface.
**/
-AtkTable*
-atk_table_get_row_header (AtkTable *obj)
+AtkObject*
+atk_table_get_row_header (AtkTable *obj, gint row)
{
AtkTableIface *iface;
iface = ATK_TABLE_GET_IFACE (obj);
if (iface->get_row_header)
- return (iface->get_row_header) (obj);
+ return (iface->get_row_header) (obj, row);
else
return NULL;
}
* Sets the specified column header to @header
**/
void
-atk_table_set_column_header (AtkTable *obj,
- gint column,
- AtkTable *header)
+atk_table_set_column_header (AtkTable *obj,
+ gint column,
+ AtkObject *header)
{
AtkTableIface *iface;
* Sets the specified row header to @header
**/
void
-atk_table_set_row_header (AtkTable *obj,
- gint row,
- AtkTable *header)
+atk_table_set_row_header (AtkTable *obj,
+ gint row,
+ AtkObject *header)
{
AtkTableIface *iface;
gint (* get_index_at) (AtkTable *table,
gint row,
gint column);
- gint (* get_row_at_index) (AtkTable *table,
- gint index);
gint (* get_column_at_index) (AtkTable *table,
gint index);
- AtkObject* (* get_caption) (AtkTable *table);
+ gint (* get_row_at_index) (AtkTable *table,
+ gint index);
gint (* get_n_columns) (AtkTable *table);
- AtkObject* (* get_column_description) (AtkTable *table,
- gint column);
+ gint (* get_n_rows) (AtkTable *table);
gint (* get_column_extent_at) (AtkTable *table,
gint row,
gint column);
- AtkTable* (* get_column_header) (AtkTable *table);
- gint (* get_n_rows) (AtkTable *table);
- AtkObject* (* get_row_description) (AtkTable *table,
- gint row);
gint (* get_row_extent_at) (AtkTable *table,
gint row,
gint column);
- AtkTable* (* get_row_header) (AtkTable *table);
- AtkObject* (* get_summary) (AtkTable *table);
- gint* (* get_selected_columns) (AtkTable *table);
- gint* (* get_selected_rows) (AtkTable *table);
- gboolean (* is_column_selected) (AtkTable *table,
+ AtkObject* (* get_caption) (AtkTable *table);
+ AtkObject* (* get_column_description) (AtkTable *table,
gint column);
- gboolean (* is_row_selected) (AtkTable *table,
+ AtkObject* (* get_column_header) (AtkTable *table,
+ gint column);
+ AtkObject* (* get_row_description) (AtkTable *table,
gint row);
- gboolean (* is_selected) (AtkTable *table,
- gint row,
- gint column);
+ AtkObject* (* get_row_header) (AtkTable *table,
+ gint row);
+ AtkObject* (* get_summary) (AtkTable *table);
void (* set_caption) (AtkTable *table,
AtkObject *accessible);
void (* set_column_description) (AtkTable *table,
AtkObject *accessible);
void (* set_column_header) (AtkTable *table,
gint column,
- AtkTable *header);
+ AtkObject *header);
void (* set_row_description) (AtkTable *table,
gint row,
AtkObject *accessible);
void (* set_row_header) (AtkTable *table,
gint row,
- AtkTable *header);
+ AtkObject *header);
void (* set_summary) (AtkTable *table,
AtkObject *accessible);
+ gint* (* get_selected_columns) (AtkTable *table);
+ gint* (* get_selected_rows) (AtkTable *table);
+ gboolean (* is_column_selected) (AtkTable *table,
+ gint column);
+ gboolean (* is_row_selected) (AtkTable *table,
+ gint row);
+ gboolean (* is_selected) (AtkTable *table,
+ gint row,
+ gint column);
/*
* signal handlers
*/
gint atk_table_get_index_at (AtkTable *table,
gint row,
gint column);
-gint atk_table_get_row_at_index (AtkTable *table,
- gint index);
gint atk_table_get_column_at_index (AtkTable *table,
gint index);
-AtkObject* atk_table_get_caption (AtkTable *table);
+gint atk_table_get_row_at_index (AtkTable *table,
+ gint index);
gint atk_table_get_n_columns (AtkTable *table);
-AtkObject* atk_table_get_column_description (AtkTable *table,
- gint column);
+gint atk_table_get_n_rows (AtkTable *table);
gint atk_table_get_column_extent_at (AtkTable *table,
gint row,
gint column);
-AtkTable* atk_table_get_column_header (AtkTable *table);
-gint atk_table_get_n_rows (AtkTable *table);
-AtkObject* atk_table_get_row_description (AtkTable *table,
- gint r);
gint atk_table_get_row_extent_at (AtkTable *table,
gint row,
gint column);
-AtkTable* atk_table_get_row_header (AtkTable *table);
+AtkObject* atk_table_get_caption (AtkTable *table);
+AtkObject* atk_table_get_column_description (AtkTable *table,
+ gint column);
+AtkObject* atk_table_get_column_header (AtkTable *table,
+ gint column);
+AtkObject* atk_table_get_row_description (AtkTable *table,
+ gint r);
+AtkObject* atk_table_get_row_header (AtkTable *table,
+ gint row);
AtkObject* atk_table_get_summary (AtkTable *table);
-gint* atk_table_get_selected_columns (AtkTable *table);
-gint* atk_table_get_selected_rows (AtkTable *table);
-gboolean atk_table_is_column_selected (AtkTable *table,
- gint column);
-gboolean atk_table_is_row_selected (AtkTable *table,
- gint row);
-gboolean atk_table_is_selected (AtkTable *table,
- gint row,
- gint column);
void atk_table_set_caption (AtkTable *table,
AtkObject *accessible);
void atk_table_set_column_description (AtkTable *table,
AtkObject *accessible);
void atk_table_set_column_header (AtkTable *table,
gint column,
- AtkTable *header);
+ AtkObject *header);
void atk_table_set_row_description (AtkTable *table,
gint row,
AtkObject *accessible);
void atk_table_set_row_header (AtkTable *table,
gint row,
- AtkTable *header);
+ AtkObject *header);
void atk_table_set_summary (AtkTable *table,
AtkObject *accessible);
+gint* atk_table_get_selected_columns (AtkTable *table);
+gint* atk_table_get_selected_rows (AtkTable *table);
+gboolean atk_table_is_column_selected (AtkTable *table,
+ gint column);
+gboolean atk_table_is_row_selected (AtkTable *table,
+ gint row);
+gboolean atk_table_is_selected (AtkTable *table,
+ gint row,
+ gint column);
#ifdef __cplusplus
}