Gtk.AccessibleRelation
Description: Reference for Gtk.AccessibleRelation

### Enumeration

# GtkAccessibleRelation

#### Declaration

    enum Gtk.AccessibleRelation

#### Description [src]

The possible accessible relations of a `GtkAccessible`.

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

#### Members

`GTK_ACCESSIBLE_RELATION_ACTIVE_DESCENDANT`

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

  - Value: `0`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_COL_COUNT`

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

  - Value: `1`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `2`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_COL_INDEX_TEXT`

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

  - Value: `3`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_COL_SPAN`

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

  - Value: `4`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_CONTROLS`

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

  - Value: `5`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_DESCRIBED_BY`

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

  - Value: `6`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_DETAILS`

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

  - Value: `7`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_ERROR_MESSAGE`

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

  - Value: `8`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `9`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_LABELLED_BY`

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

  - Value: `10`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `11`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_POS_IN_SET`

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

  - Value: `12`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_ROW_COUNT`

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

  - Value: `13`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `14`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_ROW_INDEX_TEXT`

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

  - Value: `15`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_ROW_SPAN`

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

  - Value: `16`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_SET_SIZE`

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

  - Value: `17`
  - Available since: 4.0
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `18`
  - Available since: 4.18
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `19`
  - Available since: 4.18
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `20`
  - Available since: 4.18
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `21`
  - Available since: 4.18
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `22`
  - Available since: 4.18
`GTK_ACCESSIBLE_RELATION_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.

  - Value: `23`
  - Available since: 4.18

#### Type functions

###### gtk_accessible_relation_init_value

Initializes `value` with the appropriate type for the `relation`.