Package: gtk

Interface gtk:accessible

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

gtk:about-dialog, gtk:accessible-range, gtk:accessible-text, gtk:action-bar, gtk:app-chooser-button, gtk:app-chooser-dialog, gtk:app-chooser-widget, gtk:application-window, gtk:aspect-frame, gtk:assistant, gtk:box, gtk:button, gtk:calendar, gtk:cell-view, gtk:center-box, gtk:check-button, gtk:color-button, gtk:color-chooser-dialog, gtk:color-chooser-widget, gtk:color-dialog-button, gtk:column-view, gtk:combo-box, gtk:combo-box-text, gtk:dialog, gtk:drag-icon, gtk:drawing-area, gtk:drop-down, gtk:editable-label, gtk:emoji-chooser, gtk:entry, gtk:expander, gtk:file-chooser-dialog, gtk:file-chooser-widget, gtk:fixed, gtk:flow-box, gtk:flow-box-child, gtk:font-button, gtk:font-chooser-dialog, gtk:font-chooser-widget, gtk:font-dialog-button, gtk:frame, gtk:gl-area, gtk:graphics-offload, gtk:grid, gtk:grid-view, gtk:header-bar, gtk:icon-view, gtk:image, gtk:info-bar, gtk:inscription, gtk:label, gtk:level-bar, gtk:link-button, gtk:list-base, gtk:list-box, gtk:list-box-row, gtk:lock-button, gtk:media-controls, gtk:menu-button, gtk:message-dialog, gtk:notebook, gtk:overlay, gtk:page-setup-unix-dialog, gtk:paned, gtk:password-entry, gtk:picture, gtk:popover, gtk:popover-menu, gtk:popover-menu-bar, gtk:print-unix-dialog, gtk:progress-bar, gtk:range, gtk:revealer, gtk:scale, gtk:scale-button, gtk:scrollbar, gtk:scrolled-window, gtk:search-bar, gtk:search-entry, gtk:separator, gtk:shortcut-label, gtk:shortcuts-group, gtk:shortcuts-section, gtk:shortcuts-shortcut, gtk:shortcuts-window, gtk:spin-button, gtk:spinner, gtk:stack, gtk:stack-page, gtk:stack-sidebar, gtk:stack-switcher, gtk:statusbar, gtk:switch, gtk:text, gtk:text-view, gtk:toggle-button, gtk:tree-expander, gtk:tree-view, gtk:video, gtk:viewport, gtk:volume-button, gtk:widget, gtk:window, gtk:window-controls, gtk:window-handle

Direct Slots

accessible-role
The accessible-role property of type gtk:accessible-role (Read / Write)
The accessible role of the given assistive implementation. The accessible role cannot be changed once set.

Details

The gtk:accessible interface is an interface for describing UI elements for Assistive Technologies. Every accessible implementation has: The role cannot be changed after instantiating a gtk:accessible implementation.

The attributes are updated every time a state of a UI element changes in a way that should be reflected by assistive technologies. For instance, if a widget visibility changes, the :hidden state will also change to reflect the visible property of the widget.

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 Gtk.AccessibleInterface.get_accessible_parent, Gtk.AccessibleInterface.get_first_accessible_child and Gtk.AccessibleInterface.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 do not control, it is necessary to ensure the correct shape of the a11y tree by calling the gtk:accessible-accessible-parent function and updating the sibling by the gtk:accessible-update-next-accessible-sibling function.
 

Slot Access Functions

Inherited Slot Access Functions

See also

2024-5-8