Compilation Units
Tagged Types
An interface for accessible objects containing a numeric value.
GtkAccessibleRange 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
function "+" (W : Gtk_Accessible_Range) return Gtk_Accessible_Range
subtype Accessible_Range_Interface_Descr is Glib.Object.Interface_Description;
function Get_Type return Glib.GType
type Gtk_Accessible_Range is new Glib.Types.GType_Interface;
Null_Gtk_Accessible_Range : constant Gtk_Accessible_Range;
procedure Set_Set_Current_Value
(Self : Accessible_Range_Interface_Descr;
Handler : Virtual_Set_Current_Value)
See Glib.Object.Add_Interface
type Virtual_Set_Current_Value is access function
(Self : Gtk_Accessible_Range;
Value : Gdouble) return Glib.Gboolean;
Sets the current value of the accessible range. This operation should behave similarly as if the user performed the action. Since: gtk+ 4.10
the value to set
true if the operation was performed, false otherwise