ATContext#

class ATContext(**properties: Any)#

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 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 the GtkATContext

  • display – the GdkDisplay used by the GtkATContext

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 type of the None singleton.

props.accessible_role: AccessibleRole#

The type of the None singleton.

props.display: Display#

The type of the None singleton.

Signals#

class ATContext.signals
state_change() None#

The type of the None singleton.