| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
Out of tree classes need to be able to implement the GtkAccessible
interface, in order to implement custom accessible objects.
Fixes: #4240
|
|
|
|
|
|
|
|
|
|
| |
Make the bounds calculation part of the accessible interface.
Bounds are used by ATs like Orca to implement features like Flat Review:
https://help.gnome.org/users/orca/stable/howto_flat_review.html.en
Or to determine the area of a non-presentational widget.
|
|
|
|
|
| |
Add get_parent and get_child_at_index to GtkAccessible so we can
decouple the a11y tree from the widget tree.
|
|
|
|
| |
This introduces GtkAccessibleRange, an interface which allows the accessibility backend to work with a control which can adjust a value.
|
|
|
|
|
| |
And the required private API in GtkAccessible to notify AT contexts of
changes in the children list.
|
|
|
|
|
| |
Add a way for GTK to pass bounds change information
to the AT context.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
As a companion to go with the platform_change api,
add a gtk_accessible_get_platform_state() function
that can be used by backends to get the platform
state.
This is in preparation for making entries inherit
their focus states from the text widget within.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Similar to gtk_widget_should_layout(), add a
gtk_accessible_should_present() function that backends can
use to determine whether an accessible should be presented
or not.
Ways to make a widget not presented in a11y:
- hide the widget
- set its role to NONE
- make it have a NULL AT context
We will use this in future to hide the GtkText inside
an entry, since the Text implementation will be done
by the wrapper.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Add a simple utility function to turn GtkAccessibleRole values into the
appropriate string, including localization.
|
|
|
|
|
|
| |
An Accessible implementation must create an ATContext object. UI
elements are supposed to interact with the GtkAccessible API, but we
expose GtkATContext to allow patterns like delegation.
|
|
|
|
| |
We no longer use factories anywhere.
|
|
This avoids repeating the same code for each widget that
has its own accessible implementation inside GTK+.
|