Package: gtk

Function gtk:accessible-accessible-parent

Lambda List

gtk:accessible-accessible-parent (accessible)

Syntax

(gtk:accessible-accessible-parent accessible) => parent
(setf (gtk:accessible-accessible-parent accessible) parent)
(setf (gtk:accessible-accessible-parent accessible sibling) parent)

Arguments

accessible -- a gtk:accessible object
parent -- a parent gtk:accessible object
sibling -- a sibling gtk:accessible object

Details

The gtk:accessible-accessible-parent function retrieves the accessible parent for an accessible object. This function returns nil for top level widgets. The (setf gtk:accessible-accessible-parent) function sets the parent and sibling of an accessible object.

This function is meant to be used by accessible implementations that are not part of the widget hierarchy, but act as a logical bridge between widgets. For instance, if a widget creates an object that holds metadata for each child, and you want that object to implement the gtk:accessible interface, you will use this function to ensure that the parent of each child widget is the metadata object, and the parent of each metadata object is the container widget.

Since 4.10
 

See also

2024-11-5