* Boston, MA 02111-1307, USA.
*/
+#if defined(ATK_DISABLE_SINGLE_INCLUDES) && !defined (__ATK_H_INSIDE__) && !defined (ATK_COMPILATION)
+#error "Only <atk/atk.h> can be included directly."
+#endif
+
#ifndef __ATK_TABLE_H__
#define __ATK_TABLE_H__
#include <atk/atkobject.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-/*
- * AtkTable describes a user-interface component that presents data in
- * two-dimensional table format.
- */
-
+G_BEGIN_DECLS
#define ATK_TYPE_TABLE (atk_table_get_type ())
#define ATK_IS_TABLE(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATK_TYPE_TABLE)
gint row,
gint column);
gint (* get_column_at_index) (AtkTable *table,
- gint index);
+ gint index_);
gint (* get_row_at_index) (AtkTable *table,
- gint index);
+ gint index_);
gint (* get_n_columns) (AtkTable *table);
gint (* get_n_rows) (AtkTable *table);
gint (* get_column_extent_at) (AtkTable *table,
gint column);
AtkObject*
(* get_caption) (AtkTable *table);
- G_CONST_RETURN gchar*
- (* get_column_description) (AtkTable *table,
+ const gchar* (* get_column_description) (AtkTable *table,
gint column);
AtkObject* (* get_column_header) (AtkTable *table,
gint column);
- G_CONST_RETURN gchar*
- (* get_row_description) (AtkTable *table,
+ const gchar* (* get_row_description) (AtkTable *table,
gint row);
AtkObject* (* get_row_header) (AtkTable *table,
gint row);
void (* row_reordered) (AtkTable *table);
void (* column_reordered) (AtkTable *table);
void (* model_changed) (AtkTable *table);
-
- AtkFunction pad1;
- AtkFunction pad2;
- AtkFunction pad3;
- AtkFunction pad4;
};
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);
+ gint index_);
+G_DEPRECATED
gint atk_table_get_row_at_index (AtkTable *table,
- gint index);
+ gint index_);
gint atk_table_get_n_columns (AtkTable *table);
gint atk_table_get_n_rows (AtkTable *table);
gint atk_table_get_column_extent_at (AtkTable *table,
gint column);
AtkObject*
atk_table_get_caption (AtkTable *table);
-G_CONST_RETURN gchar*
- atk_table_get_column_description (AtkTable *table,
+const gchar* atk_table_get_column_description
+ (AtkTable *table,
gint column);
AtkObject* atk_table_get_column_header (AtkTable *table,
gint column);
-G_CONST_RETURN gchar*
- atk_table_get_row_description (AtkTable *table,
+const gchar* atk_table_get_row_description (AtkTable *table,
gint row);
AtkObject* atk_table_get_row_header (AtkTable *table,
gint row);
(AtkTable *table,
gint column);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
+G_END_DECLS
#endif /* __ATK_TABLE_H__ */