module Gtk::Accessible

Overview

GtkAccessible is an interface for describing UI elements for Assistive Technologies.

Every accessible implementation has:

The role cannot be changed after instantiating a GtkAccessible implementation.

The attributes are updated every time a UI element's state changes in a way that should be reflected by assistive technologies. For instance, if a GtkWidget visibility changes, the %GTK_ACCESSIBLE_STATE_HIDDEN state will also change to reflect the Gtk::Widget#visible property.

Direct including types

Defined in:

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

Class Method Summary

Instance Method Summary

Class Method Detail

def self.g_type : UInt64 #

Instance Method Detail

def accessible_role : Gtk::AccessibleRole #

def accessible_role=(value : Gtk::AccessibleRole) : Gtk::AccessibleRole #

def reset_property(property : Gtk::AccessibleProperty) : Nil #

def reset_relation(relation : Gtk::AccessibleRelation) : Nil #

def reset_state(state : Gtk::AccessibleState) : Nil #

abstract def to_unsafe #

def update_property(properties : Enumerable(Gtk::AccessibleProperty), values : Enumerable(_)) : Nil #

def update_relation(relations : Enumerable(Gtk::AccessibleRelation), values : Enumerable(_)) : Nil #

def update_state(states : Enumerable(Gtk::AccessibleState), values : Enumerable(_)) : Nil #