Gtk.Accessible

const Gtk = imports.gi.Gtk;

let accessible = new Gtk.Accessible({
    widget: value,
});
  

The Gtk.Accessible class is the base class for accessible implementations for Gtk.Widget subclasses. It is a thin wrapper around Atk.Object, which adds facilities for associating a widget with its accessible object.

An accessible implementation for a third-party widget should derive from Gtk.Accessible and implement the suitable interfaces from ATK, such as Atk.Text or Atk.Selection. To establish the connection between the widget class and its corresponding acccessible implementation, override the get_accessible vfunc in Gtk.WidgetClass.

Hierarchy

  • GObject.Object
    • Atk.Object
      • Gtk.Accessible