:right-sidebar: True ATContext =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: ATContext(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.GObject.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 ------------ .. rst-class:: interim-class .. class:: ATContext :no-index: .. classmethod:: create(accessible_role: ~gi.repository.Gtk.AccessibleRole, accessible: ~gi.repository.Gtk.Accessible, display: ~gi.repository.Gdk.Display) -> ~gi.repository.Gtk.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. :param accessible_role: the accessible role used by the ``GtkATContext`` :param accessible: the ``GtkAccessible`` implementation using the ``GtkATContext`` :param display: the ``GdkDisplay`` used by the ``GtkATContext`` Methods ------- .. rst-class:: interim-class .. class:: ATContext :no-index: .. method:: get_accessible() -> ~gi.repository.Gtk.Accessible Retrieves the ``GtkAccessible`` using this context. .. method:: get_accessible_role() -> ~gi.repository.Gtk.AccessibleRole Retrieves the accessible role of this context. Properties ---------- .. rst-class:: interim-class .. class:: ATContext :no-index: .. attribute:: props.accessible :type: ~gi.repository.Gtk.Accessible The type of the None singleton. .. attribute:: props.accessible_role :type: ~gi.repository.Gtk.AccessibleRole The type of the None singleton. .. attribute:: props.display :type: ~gi.repository.Gdk.Display The type of the None singleton. Signals ------- .. rst-class:: interim-class .. class:: ATContext.signals :no-index: .. method:: state_change() -> None The type of the None singleton.