Interface

GtkAccessibleText

since: 4.14

[]

Description [src]

interface Gtk.AccessibleText : Gtk.Accessible

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 GTK_ACCESSIBLE_PROPERTY_LABEL or the GTK_ACCESSIBLE_PROPERTY_DESCRIPTION properties for accessible objects containing simple, unformatted text.

Available since: 4.14

[]

Prerequisite

In order to implement AccessibleText, your type must inherit fromGtkAccessible.

[]

Instance methods

gtk_accessible_text_update_caret_position

Updates the position of the caret.

since: 4.14

gtk_accessible_text_update_contents

Notifies assistive technologies of a change in contents.

since: 4.14

gtk_accessible_text_update_selection_bound

Updates the boundary of the selection.

since: 4.14

Interface structure

[]

Virtual methods

Gtk.AccessibleText.get_attributes

Retrieves the text attributes inside the accessible object.

since: 4.14

Gtk.AccessibleText.get_caret_position

Retrieves the position of the caret inside the accessible object.

since: 4.14

Gtk.AccessibleText.get_contents

Retrieve the current contents of the accessible object within the given range.

since: 4.14

Gtk.AccessibleText.get_contents_at

Retrieve the current contents of the accessible object starting from the given offset, and using the given granularity.

since: 4.14

Gtk.AccessibleText.get_default_attributes

Retrieves the default text attributes inside the accessible object.

since: 4.14

Gtk.AccessibleText.get_extents

Obtains the extents of a range of text, in widget coordinates.

since: 4.16

Gtk.AccessibleText.get_offset

Gets the text offset at a given point.

since: 4.16

Gtk.AccessibleText.get_selection

Retrieves the selection ranges in the accessible object.

since: 4.14