Every accessible implementation is part of a tree of accessible objects.
Normally, this tree corresponds to the widget tree, but can be customized
by reimplementing the vfunc@Gtk.Accessible.get_accessible_parent,
vfunc@Gtk.Accessible.get_first_accessible_child and
vfunc@Gtk.Accessible.get_next_accessible_sibling virtual functions.
Note that you can not create a top-level accessible object as of now,
which means that you must always have a parent accessible object.
Also note that when an accessible object does not correspond to a widget,
and it has children, whose implementation you don't control,
it is necessary to ensure the correct shape of the a11y tree
by calling gtk.accessible.Accessible.setAccessibleParent and
updating the sibling by gtk.accessible.Accessible.updateNextAccessibleSibling.
gtk.accessible.Accessible is an interface for describing UI elements for Assistive Technologies.
Every accessible implementation has:
The role cannot be changed after instantiating a gtk.accessible.Accessible implementation.
The attributes are updated every time a UI element's state changes in a way that should be reflected by assistive technologies. For instance, if a gtk.widget.Widget visibility changes, the gtk.types.AccessibleState.Hidden state will also change to reflect the gtk.widget.Widget.gboolean property.
Every accessible implementation is part of a tree of accessible objects. Normally, this tree corresponds to the widget tree, but can be customized by reimplementing the vfunc@Gtk.Accessible.get_accessible_parent, vfunc@Gtk.Accessible.get_first_accessible_child and vfunc@Gtk.Accessible.get_next_accessible_sibling virtual functions. Note that you can not create a top-level accessible object as of now, which means that you must always have a parent accessible object. Also note that when an accessible object does not correspond to a widget, and it has children, whose implementation you don't control, it is necessary to ensure the correct shape of the a11y tree by calling gtk.accessible.Accessible.setAccessibleParent and updating the sibling by gtk.accessible.Accessible.updateNextAccessibleSibling.