GtkAccessibleText improvements
GtkAccessibleText is available in !6666 (merged). This is an initial implementation to allow implementing out-of-tree accessible text objects, like VteWidget
.
There's still some work to do, namely:
Missing functionality:
-
Add scrolling virtual functions? - we don't really have actions, and I'm not entirely sure this should be part of the text interface
-
Implement AddSelection
,RemoveSelection
,SetSelection
- might not be needed; selections have been added to the Document interface
- see also: at-spi2-core#154 (closed)
-
Implement GetCharacterExtents
andGetRangeExtents
-
Implement GetOffsetAtPoint
-
Remove class-specific implementations inside gtkatspitext.c
- they are currently unused, as we prefer the
GtkAccessibleText
interface check - they are used for some of our editable implementations in gtk
- they are currently unused, as we prefer the
-
Look at standardizing the attribute names - it's currently unclear as to where those names are defined; ATK has an enumeration, and the mapping to the ATSPI text attribute name and values is inside libatspi.
Edited by Matthias Clasen