diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-07-01 10:15:36 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-07-05 16:08:57 -0400 |
commit | 896769df691bcdf0b6a139a7bdce5056be6cba25 (patch) | |
tree | 77d1d39c03736585852c71c9f8bbea96a2485a48 /gtk/a11y/gtkexpanderaccessible.h | |
parent | 6087131ab6c9bbe84bcfa32c6056fc7af01e5e60 (diff) | |
download | gtk+-896769df691bcdf0b6a139a7bdce5056be6cba25.tar.gz |
Convert GailExpander to GtkExpanderAccessible
At the same time, drop the AtkText implementation.
Also, reintroduce a GtkBoxAccessible, since the previous
way of setting the role in get_accessible was affecting
GtkBox subclasses negatively.
Adjust expected test output to match.
Diffstat (limited to 'gtk/a11y/gtkexpanderaccessible.h')
-rw-r--r-- | gtk/a11y/gtkexpanderaccessible.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gtk/a11y/gtkexpanderaccessible.h b/gtk/a11y/gtkexpanderaccessible.h new file mode 100644 index 0000000000..986a9b3895 --- /dev/null +++ b/gtk/a11y/gtkexpanderaccessible.h @@ -0,0 +1,51 @@ +/* GAIL - The GNOME Accessibility Implementation Library + * Copyright 2003 Sun Microsystems Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __GTK_EXPANDER_ACCESSIBLE_H__ +#define __GTK_EXPANDER_ACCESSIBLE_H__ + +#include "gailcontainer.h" + +G_BEGIN_DECLS + +#define GTK_TYPE_EXPANDER_ACCESSIBLE (gtk_expander_accessible_get_type ()) +#define GTK_EXPANDER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessible)) +#define GTK_EXPANDER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessibleClass)) +#define GTK_IS_EXPANDER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE)) +#define GTK_IS_EXPANDER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EXPANDER_ACCESSIBLE)) +#define GTK_EXPANDER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessibleClass)) + +typedef struct _GtkExpanderAccessible GtkExpanderAccessible; +typedef struct _GtkExpanderAccessibleClass GtkExpanderAccessibleClass; + +struct _GtkExpanderAccessible +{ + GailContainer parent; +}; + +struct _GtkExpanderAccessibleClass +{ + GailContainerClass parent_class; +}; + +GType gtk_expander_accessible_get_type (void); + +G_END_DECLS + +#endif /* __GTK_EXPANDER_ACCESSIBLE_H__ */ |