ATContext#
Superclasses: Object
GtkATContext is an abstract class provided by GTK to communicate to
platform-specific assistive technologies API.
Each platform supported by GTK implements a GtkATContext subclass, and
is responsible for updating the accessible state in response to state
changes in GtkAccessible.
Constructors#
- class ATContext
- classmethod create(accessible_role: AccessibleRole, accessible: Accessible, display: Display) ATContext | None#
Creates a new
GtkATContextinstance for the given accessible role, accessible instance, and display connection.The
GtkATContextimplementation being instantiated will depend on the platform.- Parameters:
accessible_role – the accessible role used by the
GtkATContextaccessible – the
GtkAccessibleimplementation using theGtkATContextdisplay – the
GdkDisplayused by theGtkATContext
Methods#
- class ATContext
- get_accessible() Accessible#
Retrieves the
GtkAccessibleusing this context.
- get_accessible_role() AccessibleRole#
Retrieves the accessible role of this context.
Properties#
- class ATContext
- props.accessible: Accessible#
The type of the None singleton.
- props.accessible_role: AccessibleRole#
The type of the None singleton.