AccessibleRelation#

class AccessibleRelation#

The possible accessible relations of a Accessible.

Accessible relations can be references to other widgets, integers or strings.

Methods#

class AccessibleRelation
init_value(value: Value) None#

Initializes value with the appropriate type for the relation.

This function is mostly meant for language bindings, in conjunction with update_relation_value().

Parameters:

value – an uninitialized GValue

Fields#

class AccessibleRelation
ACTIVE_DESCENDANT#

Identifies the currently active element when focus is on a composite widget, combobox, textbox, group, or application. Value type: reference

COL_COUNT#

Defines the total number of columns in a table, grid, or treegrid. Value type: integer

COL_INDEX#

Defines an element’s column index or position with respect to the total number of columns within a table, grid, or treegrid. Value type: integer

COL_INDEX_TEXT#

Defines a human readable text alternative of COL_INDEX. Value type: string

COL_SPAN#

Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer

CONTROLLED_BY#

Identifies the element (or elements) that the current element is controlled by. Value type: reference

This relation is managed by GTK and should not be set from application code.

Added in version 4.18.

CONTROLS#

Identifies the element (or elements) whose contents or presence are controlled by the current element. Value type: reference

DESCRIBED_BY#

Identifies the element (or elements) that describes the object. Value type: reference

DESCRIPTION_FOR#

Identifies the element (or elements) that are described by the current element. Value type: reference

This relation is managed by GTK and should not be set from application code.

Added in version 4.18.

DETAILS#

Identifies the element (or elements) that provide additional information related to the object. Value type: reference

DETAILS_FOR#

Identifies the element (or elements) for which the current element provides additional information. Value type: reference

This relation is managed by GTK and should not be set from application code.

Added in version 4.18.

ERROR_MESSAGE#

Identifies the element (or elements) that provide an error message for an object. Value type: reference

ERROR_MESSAGE_FOR#

Identifies the element (or elements) for which the current element provides an error message. Value type: reference

This relation is managed by GTK and should not be set from application code.

Added in version 4.18.

FLOW_FROM#

Identifies the previous element (or elements) in an alternate reading order of content which, at the user’s discretion, allows assistive technology to override the general default of reading in document source order. Value type: reference

This relation is managed by GTK and should not be set from application code.

Added in version 4.18.

FLOW_TO#

Identifies the next element (or elements) in an alternate reading order of content which, at the user’s discretion, allows assistive technology to override the general default of reading in document source order. Value type: reference

LABELLED_BY#

Identifies the element (or elements) that labels the current element. Value type: reference

LABEL_FOR#

Identifies the element (or elements) that are labeled by the current element. Value type: reference

This relation is managed by GTK and should not be set from application code.

Added in version 4.18.

OWNS#

Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship between elements where the widget hierarchy cannot be used to represent the relationship. Value type: reference

POS_IN_SET#

Defines an element’s number or position in the current set of listitems or treeitems. Value type: integer

ROW_COUNT#

Defines the total number of rows in a table, grid, or treegrid. Value type: integer

ROW_INDEX#

Defines an element’s row index or position with respect to the total number of rows within a table, grid, or treegrid. Value type: integer

ROW_INDEX_TEXT#

Defines a human readable text alternative of ROW_INDEX. Value type: string

ROW_SPAN#

Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. Value type: integer

SET_SIZE#

Defines the number of items in the current set of listitems or treeitems. Value type: integer