enum Gtk::AccessibleRelation

Overview

The possible accessible relations of a #Accessible.

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

Defined in:

lib/gi-crystal/src/auto/gtk-4.0/gtk.cr

Enum Members

ActiveDescendant = 0_u32

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

ColCount = 1_u32

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

ColIndex = 2_u32

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

ColIndexText = 3_u32

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

ColSpan = 4_u32

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

Controls = 5_u32

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

DescribedBy = 6_u32

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

Details = 7_u32

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

ErrorMessage = 8_u32

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

FlowTo = 9_u32

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

LabelledBy = 10_u32

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

Owns = 11_u32

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

PosInSet = 12_u32

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

RowCount = 13_u32

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

RowIndex = 14_u32

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

RowIndexText = 15_u32

Defines a human readable text alternative of aria-rowindex. Value type: string

RowSpan = 16_u32

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

SetSize = 17_u32

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

LabelFor = 18_u32

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.

DescriptionFor = 19_u32

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.

ControlledBy = 20_u32

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.

DetailsFor = 21_u32

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.

ErrorMessageFor = 22_u32

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.

FlowFrom = 23_u32

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.

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


Instance Method Detail

def active_descendant? #

def col_count? #

def col_index? #

def col_index_text? #

def col_span? #

def controlled_by? #

def controls? #

def described_by? #

def description_for? #

def details? #

def details_for? #

def error_message? #

def error_message_for? #

def flow_from? #

def flow_to? #

def label_for? #

def labelled_by? #

def owns? #

def pos_in_set? #

def row_count? #

def row_index? #

def row_index_text? #

def row_span? #

def set_size? #