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 that provides 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

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.


[View source]

Instance Method Detail

def active_descendant? #

[View source]
def col_count? #

[View source]
def col_index? #

[View source]
def col_index_text? #

[View source]
def col_span? #

[View source]
def controls? #

[View source]
def described_by? #

[View source]
def details? #

[View source]
def error_message? #

[View source]
def flow_to? #

[View source]
def labelled_by? #

[View source]
def owns? #

[View source]
def pos_in_set? #

[View source]
def row_count? #

[View source]
def row_index? #

[View source]
def row_index_text? #

[View source]
def row_span? #

[View source]
def set_size? #

[View source]