diff options
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 */_ |