diff options
author | Boby Wang <boby.wang@sun.com> | 2006-04-27 15:25:48 +0800 |
---|---|---|
committer | Li Yuan <liyuan@src.gnome.org> | 2006-04-27 15:25:48 +0800 |
commit | c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033 (patch) | |
tree | 84428b25a16d8bf67a012d07b2011da6b53698a3 /a11y/widgets/ea-expander.h | |
parent | 280fb432f4293786ae307a259eee9d633f6d9b86 (diff) | |
download | gsoc2013-evolution-c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033.tar gsoc2013-evolution-c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033.tar.gz gsoc2013-evolution-c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033.tar.bz2 gsoc2013-evolution-c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033.tar.lz gsoc2013-evolution-c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033.tar.xz gsoc2013-evolution-c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033.tar.zst gsoc2013-evolution-c9a45a3fcaeb5f27f5f883a6cdecc25fbb042033.zip |
Fix for #332821
2006-04-27 Boby Wang <boby.wang@sun.com>
Fix for #332821
* widgets/Makefile.am:
* widgets/ea-expander.[ch]:
Add two new files to implement the accessibility of EExpander.
* widgets/ea-widgets.[ch]:(e_expander_a11y_init):
Implement the accessibility of EExpander.
svn path=/trunk/; revision=31911
Diffstat (limited to 'a11y/widgets/ea-expander.h')
-rw-r--r-- | a11y/widgets/ea-expander.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/a11y/widgets/ea-expander.h b/a11y/widgets/ea-expander.h new file mode 100644 index 0000000000..ab36aba6e7 --- /dev/null +++ b/a11y/widgets/ea-expander.h @@ -0,0 +1,50 @@ +/* Evolution Accessibility: ea-expander.h + * + * Copyright (C) 2006 Novell, Inc. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of version 2 of the GNU General Public + * License as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + * + * Author: Boby Wang <boby.wang@sun.com> Sun Microsystem Inc., 2006 + * + */ + +#ifndef _EA_EXPANDER_H_ +#define _EA_EXPANDER_H_ + +#include <gtk/gtkaccessible.h> +#include <misc/e-expander.h> + +#define EA_TYPE_EXPANDER (ea_expander_get_type ()) +#define EA_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EA_TYPE_EXPANDER, EaExpander)) +#define EA_EXPANDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass,), EA_TYPE_EXPANDER, EaExpanderClass)) +#define EA_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EA_TYPE_EXPANDER)) +#define EA_IS_EXPANDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EA_TYPE_EXPANDER_CLASS)) + +typedef struct _EaExpander EaExpander; +typedef struct _EaExpanderClass EaExpanderClass; + +struct _EaExpander { + GtkAccessible object; +}; + +struct _EaExpanderClass { + GtkAccessibleClass parent_class; +}; + +/* Standard Glib function */ +GType ea_expander_get_type (void); +AtkObject* ea_expander_new (GtkWidget *expander); + +#endif /* ! _EA_EXPANDER_H */_ |