module Gtk::Accessible
Overview
Gtk::Accessible
is an interface for describing UI elements for
Assistive Technologies.
Every accessible implementation has:
- a “role”, represented by a value of the
Gtk::AccessibleRole
enumeration - an “attribute”, represented by a set of
Gtk::AccessibleState
,Gtk::AccessibleProperty
andGtk::AccessibleRelation
values
The role cannot be changed after instantiating a Gtk::Accessible
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 Gtk::Widget
visibility changes, the %GTK_ACCESSIBLE_STATE_HIDDEN
state will also change to reflect the Gtk::Widget#visible
property.
Direct including types
- Adw::AboutWindow
- Adw::ActionRow
- Adw::ApplicationWindow
- Adw::Avatar
- Adw::Bin
- Adw::ButtonContent
- Adw::Carousel
- Adw::CarouselIndicatorDots
- Adw::CarouselIndicatorLines
- Adw::Clamp
- Adw::ClampScrollable
- Adw::ComboRow
- Adw::EntryRow
- Adw::ExpanderRow
- Adw::Flap
- Adw::HeaderBar
- Adw::Leaflet
- Adw::MessageDialog
- Adw::PasswordEntryRow
- Adw::PreferencesGroup
- Adw::PreferencesPage
- Adw::PreferencesRow
- Adw::PreferencesWindow
- Adw::SplitButton
- Adw::Squeezer
- Adw::StatusPage
- Adw::TabBar
- Adw::TabView
- Adw::ToastOverlay
- Adw::ViewStack
- Adw::ViewSwitcher
- Adw::ViewSwitcherBar
- Adw::ViewSwitcherTitle
- Adw::Window
- Adw::WindowTitle
- Gtk::AboutDialog
- Gtk::ActionBar
- Gtk::AppChooserButton
- Gtk::AppChooserDialog
- Gtk::AppChooserWidget
- Gtk::ApplicationWindow
- Gtk::AspectFrame
- Gtk::Assistant
- Gtk::Box
- Gtk::Button
- Gtk::Calendar
- Gtk::CellView
- Gtk::CenterBox
- Gtk::CheckButton
- Gtk::ColorButton
- Gtk::ColorChooserDialog
- Gtk::ColorChooserWidget
- Gtk::ColumnView
- Gtk::ComboBox
- Gtk::ComboBoxText
- Gtk::Dialog
- Gtk::DragIcon
- Gtk::DrawingArea
- Gtk::DropDown
- Gtk::EditableLabel
- Gtk::EmojiChooser
- Gtk::Entry
- Gtk::Expander
- Gtk::FileChooserDialog
- Gtk::FileChooserWidget
- Gtk::Fixed
- Gtk::FlowBox
- Gtk::FlowBoxChild
- Gtk::FontButton
- Gtk::FontChooserDialog
- Gtk::FontChooserWidget
- Gtk::Frame
- Gtk::GLArea
- Gtk::Grid
- Gtk::GridView
- Gtk::HeaderBar
- Gtk::IconView
- Gtk::Image
- Gtk::InfoBar
- Gtk::Inscription
- Gtk::Label
- Gtk::LevelBar
- Gtk::LinkButton
- Gtk::ListBase
- Gtk::ListBox
- Gtk::ListBoxRow
- Gtk::ListView
- Gtk::LockButton
- Gtk::MediaControls
- Gtk::MenuButton
- Gtk::MessageDialog
- Gtk::Notebook
- Gtk::Overlay
- Gtk::PageSetupUnixDialog
- Gtk::Paned
- Gtk::PasswordEntry
- Gtk::Picture
- Gtk::Popover
- Gtk::PopoverMenu
- Gtk::PopoverMenuBar
- Gtk::PrintUnixDialog
- Gtk::ProgressBar
- Gtk::Range
- Gtk::Revealer
- Gtk::Scale
- Gtk::ScaleButton
- Gtk::Scrollbar
- Gtk::ScrolledWindow
- Gtk::SearchBar
- Gtk::SearchEntry
- Gtk::Separator
- Gtk::ShortcutLabel
- Gtk::ShortcutsGroup
- Gtk::ShortcutsSection
- Gtk::ShortcutsShortcut
- Gtk::ShortcutsWindow
- Gtk::SpinButton
- Gtk::Spinner
- Gtk::Stack
- Gtk::StackPage
- Gtk::StackSidebar
- Gtk::StackSwitcher
- Gtk::Statusbar
- Gtk::Switch
- Gtk::Text
- Gtk::TextView
- Gtk::ToggleButton
- Gtk::TreeExpander
- Gtk::TreeView
- Gtk::Video
- Gtk::Viewport
- Gtk::VolumeButton
- Gtk::Widget
- Gtk::Window
- Gtk::WindowControls
- Gtk::WindowHandle
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/accessible.crClass Method Summary
Instance Method Summary
- #accessible_role : Gtk::AccessibleRole
- #accessible_role=(value : Gtk::AccessibleRole) : Gtk::AccessibleRole
- #reset_property(property : Gtk::AccessibleProperty) : Nil
- #reset_relation(relation : Gtk::AccessibleRelation) : Nil
- #reset_state(state : Gtk::AccessibleState) : Nil
- #to_unsafe
- #update_property(properties : Enumerable(Gtk::AccessibleProperty), values : Enumerable(_)) : Nil
- #update_relation(relations : Enumerable(Gtk::AccessibleRelation), values : Enumerable(_)) : Nil
- #update_state(states : Enumerable(Gtk::AccessibleState), values : Enumerable(_)) : Nil
Class Method Detail
Instance Method Detail
def update_property(properties : Enumerable(Gtk::AccessibleProperty), values : Enumerable(_)) : Nil
#
def update_relation(relations : Enumerable(Gtk::AccessibleRelation), values : Enumerable(_)) : Nil
#