1 | /* gtkaccessibleprivate.h: Accessible interface |
---|---|
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 | #include "gtkaccessible.h" |
24 | #include "gtkatcontextprivate.h" |
25 | |
26 | G_BEGIN_DECLS |
27 | |
28 | struct _GtkAccessibleInterface |
29 | { |
30 | GTypeInterface g_iface; |
31 | |
32 | GtkATContext * (* get_at_context) (GtkAccessible *self); |
33 | |
34 | gboolean (* get_platform_state) (GtkAccessible *self, |
35 | GtkAccessiblePlatformState state); |
36 | }; |
37 | |
38 | GtkATContext * gtk_accessible_get_at_context (GtkAccessible *self); |
39 | |
40 | const char * gtk_accessible_role_to_name (GtkAccessibleRole role, |
41 | const char *domain); |
42 | |
43 | gboolean gtk_accessible_should_present (GtkAccessible *self); |
44 | |
45 | void gtk_accessible_platform_changed (GtkAccessible *self, |
46 | GtkAccessiblePlatformChange change); |
47 | gboolean gtk_accessible_get_platform_state (GtkAccessible *self, |
48 | GtkAccessiblePlatformState state); |
49 | |
50 | void gtk_accessible_bounds_changed (GtkAccessible *self); |
51 | |
52 | void gtk_accessible_update_children (GtkAccessible *self, |
53 | GtkAccessible *child, |
54 | GtkAccessibleChildState state); |
55 | |
56 | G_END_DECLS |
57 |