summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetprivate.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-01-21 16:39:22 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2021-01-21 16:40:57 +0000
commit95ceb4977055a3659369551364088340321c1224 (patch)
tree857ffb07e7c846df095ed0fa11150272b61cbc69 /gtk/gtkwidgetprivate.h
parent0bde58ffd7a72c708102f943a3ed8eaf929a31c1 (diff)
downloadgtk+-95ceb4977055a3659369551364088340321c1224.tar.gz
a11y: Make GtkATContext realization lazierebassi/lazier-a11y
We only realize the ATContext on the top level, which will create an GtkAtSpiRoot object and the corresponding GtkAtSpiCache object. Whenever an AT connects to the accessibility bus, and asks for the various objects, all the ATContext will be realized on demand.
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r--gtk/gtkwidgetprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index eb6959fe7c..9848d4038f 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -373,6 +373,9 @@ gboolean gtk_widget_focus_self (GtkWidget *widget,
void gtk_widget_update_orientation (GtkWidget *widget,
GtkOrientation orientation);
+void gtk_widget_realize_at_context (GtkWidget *widget);
+void gtk_widget_unrealize_at_context (GtkWidget *widget);
+
/* inline getters */
static inline GtkWidget *