Debian Codegraph @

gtk/a11y/gtkaccesskitrootprivate.h

raw symbols SCIP
1 /* gtkaccesskitrootprivate.h: AccessKit root object
2 *
3 * Copyright 2024 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 "gtkaccesskitcontextprivate.h"
24 #include "gtkroot.h"
25
26 #include <accesskit.h>
27
28 G_BEGIN_DECLS
29
30 #define GTK_TYPE_ACCESSKIT_ROOT (gtk_accesskit_root_get_type())
31
32 G_DECLARE_FINAL_TYPE (GtkAccessKitRoot, gtk_accesskit_root, GTK, ACCESSKIT_ROOT, GObject)
33
34 GtkAccessKitRoot *
35 gtk_accesskit_root_new (GtkRoot *root_widget);
36
37 guint32
38 gtk_accesskit_root_new_id (GtkAccessKitRoot *self);
39
40 guint32
41 gtk_accesskit_root_add_context (GtkAccessKitRoot *self,
42 GtkAccessKitContext *context);
43
44 void
45 gtk_accesskit_root_remove_context (GtkAccessKitRoot *self, guint32 id);
46
47 void
48 gtk_accesskit_root_queue_update (GtkAccessKitRoot *self,
49 guint32 id,
50 gboolean force_to_end);
51
52 void
53 gtk_accesskit_root_update_tree (GtkAccessKitRoot *self);
54
55 void
56 gtk_accesskit_root_update_window_focus_state (GtkAccessKitRoot *self,
57 gboolean focused);
58
59 G_END_DECLS