ATContext
Superclasses: Object
- Constructors:
ATContext(**properties)
create(accessible_role:Gtk.AccessibleRole, accessible:Gtk.Accessible, display:Gdk.Display) -> Gtk.ATContext or None
Constructors
- class ATContext
- classmethod create(accessible_role: AccessibleRole, accessible: Accessible, display: Display) ATContext | None
Creates a new
GtkATContext
instance for the given accessible role, accessible instance, and display connection.The
GtkATContext
implementation being instantiated will depend on the platform.- Parameters:
accessible_role – the accessible role used by the
GtkATContext
accessible – the
GtkAccessible
implementation using theGtkATContext
display – the
GdkDisplay
used by theGtkATContext
Methods
- class ATContext
- get_accessible() Accessible
Retrieves the
GtkAccessible
using this context.
- get_accessible_role() AccessibleRole
Retrieves the accessible role of this context.
Properties
- class ATContext
- props.accessible: Accessible
The
GtkAccessible
that created theGtkATContext
instance.
- props.accessible_role: AccessibleRole
The accessible role used by the AT context.
Depending on the given role, different states and properties can be set or retrieved.