AccessibleRange

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

Since

4.10

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The accessible role of the given GtkAccessible implementation.

Link copied to clipboard
open override val gtkAccessiblePointer: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
abstract val gtkAccessibleRangePointer: <Error class: unknown class><<Error class: unknown class>>

Functions

Link copied to clipboard
open fun announce(message: String, priority: AccessibleAnnouncementPriority)

Requests the user's screen reader to announce the given message.

Link copied to clipboard

Retrieves the accessible parent for an accessible object.

Link copied to clipboard

Retrieves the accessible role of an accessible object.

Link copied to clipboard

Retrieves the accessible implementation for the given GtkAccessible.

Link copied to clipboard

Retrieves the first accessible child of an accessible object.

Link copied to clipboard

Retrieves the next accessible sibling of an accessible object

Link copied to clipboard

Query a platform state, such as focus.

Link copied to clipboard
open fun resetProperty(property: AccessibleProperty)

Resets the accessible @property to its default value.

Link copied to clipboard
open fun resetRelation(relation: AccessibleRelation)

Resets the accessible @relation to its default value.

Link copied to clipboard
open fun resetState(state: AccessibleState)

Resets the accessible @state to its default value.

Link copied to clipboard
open fun setAccessibleParent(parent: Accessible? = null, nextSibling: Accessible? = null)

Sets the parent and sibling of an accessible object.

Link copied to clipboard
open fun updateNextAccessibleSibling(newSibling: Accessible? = null)

Updates the next accessible sibling of @self.