AccessibleText
Object Hierarchy:
Gtk.AccessibleText
Gtk.AccessibleText
Gtk.AccessibleText
GLib.Object
GLib.Object
GLib.Object->Gtk.AccessibleText
Gtk.Accessible
Gtk.Accessible
Gtk.Accessible->Gtk.AccessibleText
Description:
[
CCode ( type_cname =
"GtkAccessibleTextInterface" , type_id =
"gtk_accessible_text_get_type ()" ) ]
[
Version ( since =
"4.14" ) ]
public interface AccessibleText :
Object ,
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 [enum@Gtk.AccessibleProperty.LABEL] or the [enum@Gtk.AccessibleProperty.DESCRIPTION] properties for accessible objects
containing simple, unformatted text.
All known implementing classes:
Content:
Methods:
public abstract bool get_accessible_text_attributes (uint offset, out AccessibleTextRange [] ranges, out string [] attribute_names, out string [] attribute_values)
public abstract uint get_caret_position ()
Retrieves the position of the caret inside the accessible object.
public abstract Bytes get_contents (uint start, uint end)
Retrieve the current contents of the accessible object within the
given range.
public abstract Bytes get_contents_at (uint offset, AccessibleTextGranularity granularity, out uint start, out uint end)
Retrieve the current contents of the accessible object starting from
the given offset, and using the given granularity.
public abstract bool get_selection (out AccessibleTextRange [] ranges)
Retrieves the selection ranges in the accessible object.
public void update_caret_position ()
Updates the position of the caret.
public void update_contents (AccessibleTextContentChange change, uint start, uint end)
Notifies assistive technologies of a change in contents.
public void update_selection_bound ()
Updates the boundary of the selection.
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface Gtk.Accessible