enum Gtk::AccessibleProperty

Overview

The possible accessible properties of a #Accessible.

Defined in:

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

Enum Members

Autocomplete = 0_u32

Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made. Value type: #AccessibleAutocomplete

Description = 1_u32

Defines a string value that describes or annotates the current element. Value type: string

HasPopup = 2_u32

Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.

KeyShortcuts = 3_u32

Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. Value type: string

Label = 4_u32

Defines a string value that labels the current element. Value type: string

Level = 5_u32

Defines the hierarchical level of an element within a structure. Value type: integer

Modal = 6_u32

Indicates whether an element is modal when displayed. Value type: boolean

MultiLine = 7_u32

Indicates whether a text box accepts multiple lines of input or only a single line. Value type: boolean

MultiSelectable = 8_u32

Indicates that the user may select more than one item from the current selectable descendants. Value type: boolean

Orientation = 9_u32

Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. Value type: #Orientation

Placeholder = 10_u32

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format. Value type: string

ReadOnly = 11_u32

Indicates that the element is not editable, but is otherwise operable. Value type: boolean

Required = 12_u32

Indicates that user input is required on the element before a form may be submitted. Value type: boolean

RoleDescription = 13_u32

Defines a human-readable, author-localized description for the role of an element. Value type: string

Sort = 14_u32

Indicates if items in a table or grid are sorted in ascending or descending order. Value type: #AccessibleSort

ValueMax = 15_u32

Defines the maximum allowed value for a range widget. Value type: double

ValueMin = 16_u32

Defines the minimum allowed value for a range widget. Value type: double

ValueNow = 17_u32

Defines the current value for a range widget. Value type: double

ValueText = 18_u32

Defines the human readable text alternative of aria-valuenow for a range widget. Value type: string

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

def description? #

def has_popup? #

def key_shortcuts? #

def label? #

def level? #

def modal? #

def multi_line? #

def multi_selectable? #

def orientation? #

def placeholder? #

def read_only? #

def required? #

def role_description? #

def sort? #

def value_max? #

def value_min? #

def value_now? #

def value_text? #