module Gtk::AccessibleRange
Overview
An interface for accessible objects containing a numeric value.
Gtk::AccessibleRange
describes ranged controls for Assistive Technologies.
Ranged controls have a single value within an allowed range that can optionally be changed by the user.
This interface is expected to be implemented by controls using the following roles:
GTK_ACCESSIBLE_ROLE_METER
GTK_ACCESSIBLE_ROLE_PROGRESS_BAR
GTK_ACCESSIBLE_ROLE_SCROLLBAR
GTK_ACCESSIBLE_ROLE_SLIDER
GTK_ACCESSIBLE_ROLE_SPIN_BUTTON
If that is not the case, a warning will be issued at run time.
In addition to this interface, its implementers are expected to provide the correct values for the following properties:
GTK_ACCESSIBLE_PROPERTY_VALUE_MAX
GTK_ACCESSIBLE_PROPERTY_VALUE_MIN
GTK_ACCESSIBLE_PROPERTY_VALUE_NOW
GTK_ACCESSIBLE_PROPERTY_VALUE_TEXT
Direct including types
- Gtk::LevelBar
- Gtk::Paned
- Gtk::ProgressBar
- Gtk::Range
- Gtk::Scale
- Gtk::ScaleButton
- Gtk::Scrollbar
- Gtk::SpinButton
- Gtk::VolumeButton
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/accessible_range.crConstructors
-
.cast(obj : GObject::Object) : self
Cast a
GObject::Object
toself
, throws aTypeCastError
if the cast can't be made.