enum Gtk::AccessibleRole

Overview

The accessible role for a #Accessible implementation.

Abstract roles are only used as part of the ontology; application developers must not use abstract roles in their code.

Defined in:

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

Enum Members

Alert = 0_u32

An element with important, and usually time-sensitive, information

AlertDialog = 1_u32

A type of dialog that contains an alert message

Unused

Button = 3_u32

An input element that allows for user-triggered actions when clicked or pressed

Caption = 4_u32

Unused

Cell = 5_u32

Unused

Checkbox = 6_u32

A checkable input element that has three possible values: true, false, or mixed

ColumnHeader = 7_u32

A header in a columned list.

ComboBox = 8_u32

An input that controls another element, such as a list or a grid, that can dynamically pop up to help the user set the value of the input

Command = 9_u32

Abstract role.

Composite = 10_u32

Abstract role.

Dialog = 11_u32

A dialog is a window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.

Document = 12_u32

Unused

Feed = 13_u32

Unused

Form = 14_u32

Unused

Generic = 15_u32

Unused

Grid = 16_u32

A grid of items.

GridCell = 17_u32

An item in a grid or tree grid.

Group = 18_u32

An element that groups multiple widgets. GTK uses this role for various containers, like #Box, #Viewport, and #HeaderBar.

Heading = 19_u32

Unused

Img = 20_u32

An image.

Input = 21_u32

Abstract role.

Label = 22_u32

A visible name or caption for a user interface component.

Landmark = 23_u32

Abstract role.

Legend = 24_u32

Unused

Link = 25_u32

A clickable link.

List = 26_u32

A list of items.

ListBox = 27_u32

Unused.

ListItem = 28_u32

An item in a list.

Log = 29_u32

Unused

Main = 30_u32

Unused

Marquee = 31_u32

Unused

Math = 32_u32

Unused

Meter = 33_u32

An element that represents a value within a known range.

Menu = 34_u32

A menu.

MenuBar = 35_u32

A menubar.

MenuItem = 36_u32

An item in a menu.

MenuItemCheckbox = 37_u32

A check item in a menu.

MenuItemRadio = 38_u32

A radio item in a menu.

Navigation = 39_u32

Unused

None = 40_u32

An element that is not represented to accessibility technologies.

Note = 41_u32

Unused

Option = 42_u32

Unused

Presentation = 43_u32

An element that is not represented to accessibility technologies.

ProgressBar = 44_u32

An element that displays the progress status for tasks that take a long time.

Radio = 45_u32

A checkable input in a group of radio roles, only one of which can be checked at a time.

RadioGroup = 46_u32

Unused

Range = 47_u32

Abstract role.

Region = 48_u32

Unused

Row = 49_u32

A row in a columned list.

RowGroup = 50_u32

Unused

RowHeader = 51_u32

Unused

Scrollbar = 52_u32

A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area.

Search = 53_u32

Unused

SearchBox = 54_u32

A type of textbox intended for specifying search criteria.

Section = 55_u32

Abstract role.

SectionHead = 56_u32

Abstract role.

Select = 57_u32

Abstract role.

Separator = 58_u32

A divider that separates and distinguishes sections of content or groups of menuitems.

Slider = 59_u32

A user input where the user selects a value from within a given range.

SpinButton = 60_u32

A form of range that expects the user to select from among discrete choices.

Status = 61_u32

Unused

Structure = 62_u32

Abstract role.

Switch = 63_u32

A type of checkbox that represents on/off values, as opposed to checked/unchecked values.

Tab = 64_u32

An item in a list of tab used for switching pages.

Table = 65_u32

Unused

TabList = 66_u32

A list of tabs for switching pages.

TabPanel = 67_u32

A page in a notebook or stack.

TextBox = 68_u32

A type of input that allows free-form text as its value.

Time = 69_u32

Unused

Timer = 70_u32

Unused

Toolbar = 71_u32

Unused

Tooltip = 72_u32

Unused

Tree = 73_u32

Unused

TreeGrid = 74_u32

A treeview-like, columned list.

TreeItem = 75_u32

Unused

Widget = 76_u32

An interactive component of a graphical user interface. This is the role that GTK uses by default for widgets.

Window = 77_u32

An application window.

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

[View source]
def alert_dialog? #

[View source]
def banner? #

[View source]
def button? #

[View source]
def caption? #

[View source]
def cell? #

[View source]
def checkbox? #

[View source]
def column_header? #

[View source]
def combo_box? #

[View source]
def command? #

[View source]
def composite? #

[View source]
def dialog? #

[View source]
def document? #

[View source]
def feed? #

[View source]
def form? #

[View source]
def generic? #

[View source]
def grid? #

[View source]
def grid_cell? #

[View source]
def group? #

[View source]
def heading? #

[View source]
def img? #

[View source]
def input? #

[View source]
def label? #

[View source]
def landmark? #

[View source]
def legend? #

[View source]
def link? #

[View source]
def list? #

[View source]
def list_box? #

[View source]
def list_item? #

[View source]
def log? #

[View source]
def main? #

[View source]
def marquee? #

[View source]
def math? #

[View source]
def menu? #

[View source]
def menu_bar? #

[View source]
def menu_item? #

[View source]
def menu_item_checkbox? #

[View source]
def menu_item_radio? #

[View source]
def meter? #

[View source]
def navigation? #

[View source]
def none? #

[View source]
def note? #

[View source]
def option? #

[View source]
def presentation? #

[View source]
def progress_bar? #

[View source]
def radio? #

[View source]
def radio_group? #

[View source]
def range? #

[View source]
def region? #

[View source]
def row? #

[View source]
def row_group? #

[View source]
def row_header? #

[View source]
def scrollbar? #

[View source]
def search? #

[View source]
def search_box? #

[View source]
def section? #

[View source]
def section_head? #

[View source]
def select? #

[View source]
def separator? #

[View source]
def slider? #

[View source]
def spin_button? #

[View source]
def status? #

[View source]
def structure? #

[View source]
def switch? #

[View source]
def tab? #

[View source]
def tab_list? #

[View source]
def tab_panel? #

[View source]
def table? #

[View source]
def text_box? #

[View source]
def time? #

[View source]
def timer? #

[View source]
def toolbar? #

[View source]
def tooltip? #

[View source]
def tree? #

[View source]
def tree_grid? #

[View source]
def tree_item? #

[View source]
def widget? #

[View source]
def window? #

[View source]