diff options
author | Alejandro Piñeiro <apinheiro@igalia.com> | 2014-02-10 17:02:11 +0100 |
---|---|---|
committer | Alejandro Piñeiro <apinheiro@igalia.com> | 2014-02-18 17:23:51 +0100 |
commit | a3b6bb15885b5c59fc7bf2283bbb1fb06b602ba7 (patch) | |
tree | cc2049bef7e562d61187557e3862a398566f51a4 /atk/atktable.h | |
parent | 1349b6330379191a825955fc8107079ec742bb68 (diff) | |
download | atk-a3b6bb15885b5c59fc7bf2283bbb1fb06b602ba7.tar.gz |
doc: documentation for AtkTableCell, AtkTable, deprecations and padding
Index based methods forced ATK implementations to expose
the cells are direct children of the table. Something that
was complex in the practice. In fact some implementation
were not doing it, making the index-based methods not
properly implemented. This became even more clear with the
addition of AtkTableCell.
Additionally, this patch documents AtkTableCell and that
those cells should implement the newly added AtkTableCell
interface.
Diffstat (limited to 'atk/atktable.h')
-rwxr-xr-x | atk/atktable.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/atk/atktable.h b/atk/atktable.h index 124cfbc..8aace1f 100755 --- a/atk/atktable.h +++ b/atk/atktable.h @@ -28,12 +28,6 @@ G_BEGIN_DECLS -/* - * AtkTable describes a user-interface component that presents data in - * two-dimensional table format. - */ - - #define ATK_TYPE_TABLE (atk_table_get_type ()) #define ATK_IS_TABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_TABLE) #define ATK_TABLE(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATK_TYPE_TABLE, AtkTable) @@ -139,11 +133,14 @@ GType atk_table_get_type (void); AtkObject* atk_table_ref_at (AtkTable *table, gint row, gint column); +G_DEPRECATED_FOR(atk_table_ref_at) gint atk_table_get_index_at (AtkTable *table, gint row, gint column); +G_DEPRECATED gint atk_table_get_column_at_index (AtkTable *table, gint index_); +G_DEPRECATED gint atk_table_get_row_at_index (AtkTable *table, gint index_); gint atk_table_get_n_columns (AtkTable *table); |