summaryrefslogtreecommitdiff
path: root/gtk/gtkaccessibleprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-10-12 13:05:43 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-10-12 15:10:40 -0400
commitb5ee73d2992077eba85ebcec9f31556bd8ddb3e5 (patch)
tree8f068df6cc3fc821245b31627d3b431d337e3681 /gtk/gtkaccessibleprivate.h
parent578c8b5068734c30244c44c064d1bf9675eb7c7d (diff)
downloadgtk+-b5ee73d2992077eba85ebcec9f31556bd8ddb3e5.tar.gz
a11y: Pass on platform changes
Add an enum for 'platform changes' to the at context change notification mechanism. This will let us pass along things that ARIA considers 'platform state' such as focus or editability. The difference between the platform state and other ARIA states is that we don't keep the platform state separately in the at context - backends are expected to just query the widgets. This is just about avoiding notify listeners for change notification.
Diffstat (limited to 'gtk/gtkaccessibleprivate.h')
-rw-r--r--gtk/gtkaccessibleprivate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/gtkaccessibleprivate.h b/gtk/gtkaccessibleprivate.h
index a118f6c150..05351d4526 100644
--- a/gtk/gtkaccessibleprivate.h
+++ b/gtk/gtkaccessibleprivate.h
@@ -21,7 +21,7 @@
#pragma once
#include "gtkaccessible.h"
-#include "gtkatcontext.h"
+#include "gtkatcontextprivate.h"
G_BEGIN_DECLS
@@ -37,4 +37,7 @@ GtkATContext * gtk_accessible_get_at_context (GtkAccessible *self);
const char * gtk_accessible_role_to_name (GtkAccessibleRole role,
const char *domain);
+void gtk_accessible_platform_changed (GtkAccessible *self,
+ GtkAccessiblePlatformChange change);
+
G_END_DECLS