diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-06-16 17:40:14 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-07-26 20:31:14 +0100 |
commit | 14faec3ce2ce8b70f97aba3ebbd946d2a2c065f5 (patch) | |
tree | 5e2b24d31594661cc780f6ac874b2046bd3618fa /gtk/gtkaccessible.h | |
parent | 82fe6fbc621dd5cad89d52c274bcf39cdb6409a5 (diff) | |
download | gtk+-14faec3ce2ce8b70f97aba3ebbd946d2a2c065f5.tar.gz |
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.
Diffstat (limited to 'gtk/gtkaccessible.h')
-rw-r--r-- | gtk/gtkaccessible.h | 39 |
1 files changed, 39 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>. + */ + +#pragma once + +#include <glib-object.h> +#include <gtk/gtktypes.h> +#include <gtk/gtkenums.h> + +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 |