AccessibleText

An interface for accessible objects containing formatted text.

The GtkAccessibleText interfaces is meant to be implemented by accessible objects that have text formatted with attributes, or non-trivial text contents.

You should use the enum@Gtk.AccessibleProperty.LABEL or the enum@Gtk.AccessibleProperty.DESCRIPTION properties for accessible objects containing simple, unformatted text.

Since

4.14

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 gtkAccessibleTextPointer: <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

Updates the position of the caret.

Link copied to clipboard
open fun updateContents(change: AccessibleTextContentChange, start: <Error class: unknown class>, end: <Error class: unknown class>)

Notifies assistive technologies of a change in contents.

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

Updates the next accessible sibling of @self.

Link copied to clipboard

Updates the boundary of the selection.