gtk2/gtk/a11y
Samuel Thibault 7ee6fb2ec0 GtkPlug/Socket: add accessibility support
When a plug is embedded in a socket, we need to also plug the at-spi
tree, so that screen readers can find the at-spi content of the plugged
widgets.

This change does this plugging automatically: on the plug widget, an
additional _XEMBED_AT_SPI_PATH property is set to provide the at-spi path
(just like we have _XEMBED_INFO for other X11 information), and when
embedding it, the socket reads it, and makes it as its only child.

Since GtkPlugAccessible can not inherit both from AtkPlug (a child of
AtkObject) and from GtkContainerAccessible (a child of AtkObject), we
actually make GtkPlugAccessible a child of an AtkPlug, and that's what
will be embedded (in at-spi terms) into an AtkSocket.

Similarly, GtkSocketAccessible can not inherit both from AtkSocket and
GtkContainerAccessible, so we make it a parent of the AtkSocket that
embeds the AtkPlug.

This change depends on atk 2.35.1 which implements the at-spi technical
details.

This separates out atk-bridge-2.0 dependency, which is not part of atk,
but of at-spi2-atk.
2020-10-08 22:00:21 +02:00
..
gtk-a11y-autocleanups.h gtk: Add support for g_autoptr() 2015-02-02 09:31:27 +01:00
gtkaccessibility.c a11y: Correctly indent code 2016-08-25 23:02:27 +02:00
gtkaccessibility.h
gtkaccessibilitymisc.c a11y: Disable deprecation warnings in AtkMisc implementation 2014-05-05 16:10:16 +02:00
gtkaccessibilitymisc.h
gtkaccessibilityutil.c a11y: Avoid clobbering AtkUtilClass vmethods 2019-09-27 18:15:44 +02:00
gtkaccessibilityutil.h
gtkarrowaccessible.c
gtkarrowaccessible.h
gtkbooleancellaccessible.c a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkbooleancellaccessible.h
gtkbuttonaccessible.c GtkButtonAccessible: Stop emitting state-change signals for ATK_STATE_ARMED 2014-11-25 22:33:27 -05:00
gtkbuttonaccessible.h
gtkcellaccessible.c Fix 'Fix "A11y: Add support for AtkTableCell"'... 2018-12-30 18:11:50 +00:00
gtkcellaccessible.h a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkcellaccessibleparent.c Add a few placeholder documentation block to have g-i annotations 2019-05-01 15:06:15 +02:00
gtkcellaccessibleparent.h Merge branch 'master' into 'master' 2019-03-03 20:22:09 +00:00
gtkcellaccessibleprivate.h a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkcheckmenuitemaccessible.c GtkCheckMenuItemAccessible: Make work with model menu items 2014-01-04 21:53:31 -05:00
gtkcheckmenuitemaccessible.h
gtkcolorswatchaccessible.c Emit a11y state change notification for color swatches 2014-01-05 10:54:43 -05:00
gtkcolorswatchaccessibleprivate.h
gtkcomboboxaccessible.c
gtkcomboboxaccessible.h
gtkcontaineraccessible.c GtkContainerAccessible: avoid resurrecting accessibles 2014-10-14 23:58:37 -04:00
gtkcontaineraccessible.h
gtkcontaineraccessibleprivate.h a11y: Don't use signals 2014-03-13 02:02:50 +01:00
gtkcontainercellaccessible.c a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtkcontainercellaccessible.h
gtkentryaccessible.c a11y/entry: Fix copy-pasteo re 2ndary icon tooltip 2018-06-19 18:38:49 +01:00
gtkentryaccessible.h
gtkexpanderaccessible.c
gtkexpanderaccessible.h
gtkflowboxaccessible.c Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxaccessible.h Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxaccessibleprivate.h Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxchildaccessible.c Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkflowboxchildaccessible.h Add GtkFlowBox 2013-10-06 23:31:17 -04:00
gtkframeaccessible.c
gtkframeaccessible.h
gtkheaderbaraccessible.c a11y: Include window management buttons in headerbar 2019-08-15 13:09:07 +02:00
gtkheaderbaraccessible.h a11y: Include window management buttons in headerbar 2019-08-15 13:09:07 +02:00
gtkiconviewaccessible.c all: Don't warn about deprecated gtk_window_present usage 2019-02-22 18:38:11 -05:00
gtkiconviewaccessible.h
gtkiconviewaccessibleprivate.h
gtkimageaccessible.c Remove a duplicate string 2015-07-26 02:57:39 -04:00
gtkimageaccessible.h
gtkimagecellaccessible.c a11y: atk_component_get_position is deprecated 2014-04-01 21:40:23 -04:00
gtkimagecellaccessible.h
gtklabelaccessible.c a11y: Cast g_object_ref() to the right type 2018-02-11 23:28:50 +00:00
gtklabelaccessible.h
gtklabelaccessibleprivate.h GtkLabelAccessible: update state of links 2014-01-04 10:54:03 -05:00
gtklevelbaraccessible.c GtkLevelBar: Implement new AtkValue interface 2014-05-02 20:46:03 -04:00
gtklevelbaraccessible.h
gtklinkbuttonaccessible.c GtkLinkButtonAccessible: fix broken AtkHyperlink implementation 2014-01-04 10:54:03 -05:00
gtklinkbuttonaccessible.h
gtklistboxaccessible.c list box: Update accessible implementation 2014-04-06 01:44:36 -04:00
gtklistboxaccessible.h
gtklistboxaccessibleprivate.h list box: Update accessible implementation 2014-04-06 01:44:36 -04:00
gtklistboxrowaccessible.c listboxrowaccessible: Avoid assertion failure 2014-08-03 02:48:26 +02:00
gtklistboxrowaccessible.h
gtklockbuttonaccessible.c
gtklockbuttonaccessible.h
gtklockbuttonaccessibleprivate.h
gtkmenuaccessible.c
gtkmenuaccessible.h
gtkmenubuttonaccessible.c menu button: Improve accessibility 2015-03-13 18:38:18 -04:00
gtkmenubuttonaccessible.h Improve menubutton a11y 2013-12-20 13:31:08 -05:00
gtkmenuitemaccessible.c GtkMenuItemAccessible: use "insert" signal 2014-08-15 10:29:48 -04:00
gtkmenuitemaccessible.h
gtkmenushellaccessible.c
gtkmenushellaccessible.h
gtknotebookaccessible.c
gtknotebookaccessible.h
gtknotebookpageaccessible.c a11y: unref selected item only if it is not NULL 2014-07-25 10:03:24 +02:00
gtknotebookpageaccessible.h
gtkpanedaccessible.c GtkPaned: Implement new AtkValue interface 2014-05-02 20:46:17 -04:00
gtkpanedaccessible.h
gtkplugaccessible.c GtkPlug/Socket: add accessibility support 2020-10-08 22:00:21 +02:00
gtkplugaccessible.h GtkPlug/Socket: add accessibility support 2020-10-08 22:00:21 +02:00
gtkpopoveraccessible.c GtkPopover: Properly update a11y parent 2014-07-30 23:14:41 +02:00
gtkpopoveraccessible.h a11y: Add GtkPopopverAccessible 2014-03-10 23:02:14 +01:00
gtkprogressbaraccessible.c GtkProgressBar: Implement new AtkValue interface 2014-05-02 20:46:30 -04:00
gtkprogressbaraccessible.h
gtkradiobuttonaccessible.c
gtkradiobuttonaccessible.h
gtkradiomenuitemaccessible.c
gtkradiomenuitemaccessible.h
gtkrangeaccessible.c GtkRange: Implement new AtkValue interface 2014-05-02 20:46:45 -04:00
gtkrangeaccessible.h
gtkrenderercellaccessible.c
gtkrenderercellaccessible.h
gtkscaleaccessible.c
gtkscaleaccessible.h
gtkscalebuttonaccessible.c GtkScaleButton: Implement new AtkValue interface 2014-05-02 20:47:00 -04:00
gtkscalebuttonaccessible.h
gtkscrolledwindowaccessible.c a11y/ScrolledWin|IconView: Connect signals safely 2018-04-22 16:11:01 +01:00
gtkscrolledwindowaccessible.h
gtksocketaccessible.c GtkPlug/Socket: add accessibility support 2020-10-08 22:00:21 +02:00
gtksocketaccessible.h GtkPlug/Socket: add accessibility support 2020-10-08 22:00:21 +02:00
gtkspinbuttonaccessible.c GtkSpinButton: Implement new AtkValue interface 2014-05-02 20:47:16 -04:00
gtkspinbuttonaccessible.h
gtkspinneraccessible.c
gtkspinneraccessible.h
gtkstackaccessible.c Add GtkStackAccessible 2016-05-30 19:12:52 +02:00
gtkstackaccessible.h Add GtkStackAccessible 2016-05-30 19:12:52 +02:00
gtkstackaccessibleprivate.h Add GtkStackAccessible 2016-05-30 19:12:52 +02:00
gtkstatusbaraccessible.c
gtkstatusbaraccessible.h
gtkswitchaccessible.c
gtkswitchaccessible.h
gtktextcellaccessible.c a11y: Only emit signals when cells change; not upon creation 2015-04-10 16:36:06 +02:00
gtktextcellaccessible.h
gtktextviewaccessible.c Implement ATK's scrollSubstringTo() 2020-10-07 20:20:05 +02:00
gtktextviewaccessible.h
gtktextviewaccessibleprivate.h
gtktogglebuttonaccessible.c
gtktogglebuttonaccessible.h
gtktoplevelaccessible.c a11y: Do not include gtkx.h directly 2014-07-12 07:13:27 +02:00
gtktoplevelaccessible.h
gtktreeviewaccessible.c all: Don't warn about deprecated gtk_window_present usage 2019-02-22 18:38:11 -05:00
gtktreeviewaccessible.h
gtktreeviewaccessibleprivate.h
gtkwidgetaccessible.c all: Don't warn about deprecated gtk_window_present usage 2019-02-22 18:38:11 -05:00
gtkwidgetaccessible.h
gtkwidgetaccessibleprivate.h
gtkwindowaccessible.c a11y: Expose window type hint as attribute 2016-03-04 23:50:50 -05:00
gtkwindowaccessible.h
Makefile.inc GtkPlug/Socket: add accessibility support 2020-10-08 22:00:21 +02:00
meson.build GtkPlug/Socket: add accessibility support 2020-10-08 22:00:21 +02:00