### Interface

# GtkAccessibleRange

since: 4.10

#### Description [src]

    interface Gtk.AccessibleRange : Gtk.Accessible

This interface describes ranged controls, e.g. controls which have a single value within an allowed range and 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`

Available since: 4.10

#### Prerequisite

In order to implement AccessibleRange, your type must inherit from`GtkAccessible`.

#### Implementations

- GtkLevelBar
- GtkPaned
- GtkProgressBar
- GtkRange
- GtkScale
- GtkScaleButton
- GtkScrollbar
- GtkSpinButton
- GtkVolumeButton

#### Interface structure

    struct GtkAccessibleRangeInterface {
      GTypeInterface g_iface;
      gboolean (* set_current_value) (
        GtkAccessibleRange* self,
        double value
      );

    }

No description available.

###### Interface members

`g_iface`

    GTypeInterface

| No description available.

`set_current_value`

    gboolean (* set_current_value) (
        GtkAccessibleRange* self,
        double value
      )

| No description available.

#### Virtual methods

###### Gtk.AccessibleRange.set_current_value

Sets the current value of the accessible range.

since: 4.10