Updated Danish translation
[gtkhtml.git] / a11y / object.h
blob09f4c2d06bef14933cdd7bdbdb0f4ce6b90586a2
1 /* This file is part of the GtkHTML library.
3 * Copyright 2002 Ximian, Inc.
5 * Author: Radek Doulik
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public License
19 * along with this library; see the file COPYING.LIB. If not, write to
20 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 * Boston, MA 02110-1301, USA.
24 #ifndef __GTK_HTML_A11Y_OBJECT_H__
25 #define __GTK_HTML_A11Y_OBJECT_H__
27 #include <gtk/gtk.h>
28 #include <gtk/gtk-a11y.h>
30 #define G_TYPE_GTK_HTML_A11Y (gtk_html_a11y_get_type ())
31 #define GTK_HTML_A11Y(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_GTK_HTML_A11Y, GtkHTMLA11Y))
32 #define GTK_HTML_A11Y_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), G_TYPE_GTK_HTML_A11Y, GtkHTMLA11YClass))
33 #define G_IS_GTK_HTML_A11Y(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_GTK_HTML_A11Y))
34 #define G_IS_GTK_HTML_A11Y_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_TYPE_GTK_HTML_A11Y))
35 #define GTK_HTML_A11Y_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), G_TYPE_GTK_HTML_A11Y, GtkHTMLA11YClass))
37 #define GTK_HTML_ID "gtk-html-widget"
38 #define GTK_HTML_A11Y_GTKHTML(o) GTK_HTML (g_object_get_data (G_OBJECT (o), GTK_HTML_ID))
39 #define GTK_HTML_A11Y_GTKHTML_POINTER(o) g_object_get_data (G_OBJECT (o), GTK_HTML_ID)
41 typedef struct _GtkHTMLA11Y GtkHTMLA11Y;
42 typedef struct _GtkHTMLA11YClass GtkHTMLA11YClass;
44 struct _GtkHTMLA11Y
46 GtkContainerAccessible parent;
49 GType gtk_html_a11y_get_type (void);
51 struct _GtkHTMLA11YClass
53 GtkContainerAccessibleClass parent_class;
56 AtkObject * gtk_html_a11y_new (GtkWidget *widget);
58 #endif