From 14faec3ce2ce8b70f97aba3ebbd946d2a2c065f5 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 16 Jun 2020 17:40:14 +0100 Subject: Introduce GtkAccessible GtkAccessible is an interface for accessible UI elements. Currently, it doesn't do much except exist as a type; in the future, it will be the entry point for all accessible state in GTK. --- gtk/gtkaccessible.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 gtk/gtkaccessible.h (limited to 'gtk/gtkaccessible.h') diff --git a/gtk/gtkaccessible.h b/gtk/gtkaccessible.h new file mode 100644 index 0000000000..d54d21a2d0 --- /dev/null +++ b/gtk/gtkaccessible.h @@ -0,0 +1,39 @@ +/* gtkaccessible.h: Accessible interface + * + * Copyright 2020 GNOME Foundation + * + * SPDX-License-Identifier: LGPL-2.1-or-later + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + */ + +#pragma once + +#include +#include +#include + +G_BEGIN_DECLS + +#define GTK_TYPE_ACCESSIBLE (gtk_accessible_get_type()) + +GDK_AVAILABLE_IN_ALL +G_DECLARE_INTERFACE (GtkAccessible, gtk_accessible, GTK, ACCESSIBLE, GObject) + +struct _GtkAccessibleInterface +{ + GTypeInterface g_iface; +}; + +G_END_DECLS -- cgit v1.2.1