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? #

Returns true if this enum value equals ActiveDescendant


[View source]
def col_count? #

Returns true if this enum value equals ColCount


[View source]
def col_index? #

Returns true if this enum value equals ColIndex


[View source]
def col_index_text? #

Returns true if this enum value equals ColIndexText


[View source]
def col_span? #

Returns true if this enum value equals ColSpan


[View source]
def controls? #

Returns true if this enum value equals Controls


[View source]
def described_by? #

Returns true if this enum value equals DescribedBy


[View source]
def details? #

Returns true if this enum value equals Details


[View source]
def error_message? #

Returns true if this enum value equals ErrorMessage


[View source]
def flow_to? #

Returns true if this enum value equals FlowTo


[View source]
def labelled_by? #

Returns true if this enum value equals LabelledBy


[View source]
def owns? #

Returns true if this enum value equals Owns


[View source]
def pos_in_set? #

Returns true if this enum value equals PosInSet


[View source]
def row_count? #

Returns true if this enum value equals RowCount


[View source]
def row_index? #

Returns true if this enum value equals RowIndex


[View source]
def row_index_text? #

Returns true if this enum value equals RowIndexText


[View source]
def row_span? #

Returns true if this enum value equals RowSpan


[View source]
def set_size? #

Returns true if this enum value equals SetSize


[View source]