* 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 */
+G_BEGIN_DECLS
/*
* AtkTable describes a user-interface component that presents data in
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);
gint row,
gint column);
gint atk_table_get_column_at_index (AtkTable *table,
- gint index);
+ gint index_);
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__ */