1/* gtkatcontext.h: Assistive technology context
2 *
3 * Copyright 2020 GNOME Foundation
4 *
5 * SPDX-License-Identifier: LGPL-2.1-or-later
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, see <http://www.gnu.org/licenses/>.
19 */
20
21#pragma once
22
23#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
24#error "Only <gtk/gtk.h> can be included directly."
25#endif
26
27#include <gtk/gtktypes.h>
28#include <gtk/gtkenums.h>
29#include <gtk/gtkaccessible.h>
30
31G_BEGIN_DECLS
32
33#define GTK_TYPE_AT_CONTEXT (gtk_at_context_get_type())
34
35GDK_AVAILABLE_IN_ALL
36GDK_DECLARE_INTERNAL_TYPE (GtkATContext, gtk_at_context, GTK, AT_CONTEXT, GObject)
37
38GDK_AVAILABLE_IN_ALL
39GtkAccessible * gtk_at_context_get_accessible (GtkATContext *self);
40GDK_AVAILABLE_IN_ALL
41GtkAccessibleRole gtk_at_context_get_accessible_role (GtkATContext *self);
42
43GDK_AVAILABLE_IN_ALL
44GtkATContext * gtk_at_context_create (GtkAccessibleRole accessible_role,
45 GtkAccessible *accessible,
46 GdkDisplay *display);
47
48G_END_DECLS
49

source code of gtk/gtk/gtkatcontext.h