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
- 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::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.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.
Class 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
Constructor Detail
Cast a GObject::Object
to self
, throws a TypeCastError
if the cast can't be made.
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
#
def update_state(states : Enumerable(Gtk::AccessibleState), values : Enumerable(_)) : Nil
#