gtk2/gtk/a11y
Lukáš Tyrychtr bc48bfc2b6 a11y: Use a DOM-like API for iterating accessible objects
The `get_child_at_index()` API model comes from AT-SPI, and it's not an
efficient design, especially when coupled with large widgets.

Replace `get_child_at_index()` with `get_first_accessible_child()` and
`get_next_accessible_sibling()`.

That allows efficiently retrieving all the children, simplifies the
implementation of GtkAccessible in GtkWidget and closely resembeles the
GtkWidget API.

Getting the last child and previous sibling for iterating backwards is
not a part of the interface at the moment, but they can be added at a
later date.

Note that this change required tracking the next stack page in
GtkStackPage.
2023-02-03 11:49:17 +01:00
..
atspi a11y: Drop GtkAccessibleRange.get_minimum_increment() 2022-09-30 18:36:02 +01:00
gtkatspiaction.c a11y: Avoid out-of-bounds access 2021-02-04 00:34:05 -05:00
gtkatspiactionprivate.h Initial ATSPI Action implementation for widget 2020-10-16 00:34:01 +01:00
gtkatspicache.c a11y: Check if path is NULL when removing from cache 2023-01-08 19:56:49 +01:00
gtkatspicacheprivate.h a11y: Add the root object to the cache 2021-04-19 19:22:20 +01:00
gtkatspicomponent.c a11y: Implement missing atspi.Component getters 2020-11-11 18:33:15 +00:00
gtkatspicomponentprivate.h atspi: Implement Component 2020-10-19 12:19:55 -04:00
gtkatspicontext.c a11y: Use a DOM-like API for iterating accessible objects 2023-02-03 11:49:17 +01:00
gtkatspicontextprivate.h a11y: Implement atspi.Cache 2020-11-16 16:44:56 +00:00
gtkatspieditabletext.c a11y: Rename some methods 2020-10-19 12:58:29 -04:00
gtkatspieditabletextprivate.h stack: Turn pages into accessibles 2020-10-14 21:04:17 -04:00
gtkatspipango.c gtk: Rename some private headers 2022-10-05 23:01:28 -04:00
gtkatspipangoprivate.h Move private function out of the AT-SPI a11y backend 2022-08-04 23:34:41 +01:00
gtkatspiprivate.h a11y: Add getters for GtkAtSpiContext 2020-11-16 16:44:56 +00:00
gtkatspiroot.c a11y: Use fallback logic when GApplication has no DBus object path 2023-01-08 19:58:54 +01:00
gtkatspirootprivate.h a11y: Defer object registration after root registration 2022-04-19 16:35:27 +01:00
gtkatspiselection.c Deprecate treeviews and cell renderers 2022-10-11 17:18:21 -04:00
gtkatspiselectionprivate.h atspi: Implement Selection for notebook tabs 2020-10-14 21:04:25 -04:00
gtkatspitext.c gtk: Rename some private headers 2022-10-05 23:01:28 -04:00
gtkatspitextbuffer.c gtk: Rename some private headers 2022-10-05 23:01:28 -04:00
gtkatspitextbufferprivate.h Move private function out of the AT-SPI a11y backend 2022-08-04 23:34:41 +01:00
gtkatspitextprivate.h stack: Turn pages into accessibles 2020-10-14 21:04:17 -04:00
gtkatspiutils.c gtk: Clean up docs syntax 2021-05-22 17:25:26 -04:00
gtkatspiutilsprivate.h a11y: Move ChildrenChanged emitter to ATSPI utilities 2020-10-21 15:18:23 +01:00
gtkatspivalue.c a11y: Drop GtkAccessibleRange.get_minimum_increment() 2022-09-30 18:36:02 +01:00
gtkatspivalueprivate.h stack: Turn pages into accessibles 2020-10-14 21:04:17 -04:00
meson.build atspi: Implement Component 2020-10-19 12:19:55 -04:00