aboutsummaryrefslogtreecommitdiffstats
path: root/a11y/e-table/gal-a11y-e-cell-tree.h
diff options
context:
space:
mode:
authorTim Wo <tim.wo@sun.com>2003-11-12 13:12:04 +0800
committerGilbert Fang <gilbertfang@src.gnome.org>2003-11-12 13:12:04 +0800
commit2ba68734fdf438ab3c0e519c03990ad388186a71 (patch)
tree515db92c620a3c27aa8ab088af438eb9479f751a /a11y/e-table/gal-a11y-e-cell-tree.h
parent325bccff550473ec2e4fd223e50242ae75ca1e4d (diff)
downloadgsoc2013-evolution-2ba68734fdf438ab3c0e519c03990ad388186a71.tar
gsoc2013-evolution-2ba68734fdf438ab3c0e519c03990ad388186a71.tar.gz
gsoc2013-evolution-2ba68734fdf438ab3c0e519c03990ad388186a71.tar.bz2
gsoc2013-evolution-2ba68734fdf438ab3c0e519c03990ad388186a71.tar.lz
gsoc2013-evolution-2ba68734fdf438ab3c0e519c03990ad388186a71.tar.xz
gsoc2013-evolution-2ba68734fdf438ab3c0e519c03990ad388186a71.tar.zst
gsoc2013-evolution-2ba68734fdf438ab3c0e519c03990ad388186a71.zip
new files (gal-a11y-e-cell-tree.c/h) added adding 2 new functions to add
2003-11-03 Tim Wo <tim.wo@sun.com> * gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h) added * gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or remove atk states * gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set (eti_ref_state_set): new function (eti_class_init): create and initialize the state_set (eti_init): override the "ref_state_set" function in AtkObjectClass with "eti_ref_state_set" (gal_a11y_e_cell_add_state): adding a return value (gal_a11y_e_cell_remove_state): new function * gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register GalA11yECellText as the a11y implementation for ECellText. (e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view of subcell in ECellTree * gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view of subcell in ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation for ECellTree * gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation for ECellTree svn path=/trunk/; revision=23296
Diffstat (limited to 'a11y/e-table/gal-a11y-e-cell-tree.h')
-rw-r--r--a11y/e-table/gal-a11y-e-cell-tree.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/a11y/e-table/gal-a11y-e-cell-tree.h b/a11y/e-table/gal-a11y-e-cell-tree.h
new file mode 100644
index 0000000000..4d48b66de4
--- /dev/null
+++ b/a11y/e-table/gal-a11y-e-cell-tree.h
@@ -0,0 +1,48 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * Authors:
+ * Tim Wo <tim.wo@sun.com>, Sun Microsystem Inc. 2003.
+ *
+ * Copyright (C) 2002 Ximian, Inc.
+ */
+
+#ifndef __GAL_A11Y_E_CELL_TREE_H__
+#define __GAL_A11Y_E_CELL_TREE_H__
+
+#include <glib-object.h>
+#include <gal/e-table/e-table-item.h>
+#include <gal/e-table/e-cell-tree.h>
+#include "gal-a11y-e-cell.h"
+
+#define GAL_A11Y_TYPE_E_CELL_TREE (gal_a11y_e_cell_tree_get_type ())
+#define GAL_A11Y_E_CELL_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAL_A11Y_TYPE_E_CELL_TREE, GalA11yECellTree))
+#define GAL_A11Y_E_CELL_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAL_A11Y_TYPE_E_CELL_TREE, GalA11yECellTreeClass))
+#define GAL_A11Y_IS_E_CELL_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAL_A11Y_TYPE_E_CELL_TREE))
+#define GAL_A11Y_IS_E_CELL_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAL_A11Y_TYPE_E_CELL_TREE))
+
+typedef struct _GalA11yECellTree GalA11yECellTree;
+typedef struct _GalA11yECellTreeClass GalA11yECellTreeClass;
+typedef struct _GalA11yECellTreePrivate GalA11yECellTreePrivate;
+
+/* This struct should actually be larger as this isn't what we derive from.
+ * The GalA11yECellTreePrivate comes right after the parent class structure.
+ **/
+struct _GalA11yECellTree {
+ GalA11yECell object;
+};
+
+struct _GalA11yECellTreeClass {
+ GalA11yECellClass parent_class;
+};
+
+
+/* Standard Glib function */
+GType gal_a11y_e_cell_tree_get_type (void);
+AtkObject *gal_a11y_e_cell_tree_new (ETableItem *item,
+ ECellView *cell_view,
+ AtkObject *parent,
+ int model_col,
+ int view_col,
+ int row);
+
+#endif /* ! __GAL_A11Y_E_CELL_TREE_H__ */