Package: gtk

Function gtk:accessible-text-attributes

Lambda List

gtk:accessible-text-attributes (accessible offset nranges ranges names values)

Arguments

accessible -- a gtk:accessible-text object
offset -- an unsigned integer for the offset, in characters
nranges -- an integer pointer for the number off attributes
ranges -- a pointer for an array with the GtkAccessibleRange instances
names -- a pointer for an array with the names of the attributes inside the accessible object
values -- a pointer for a string array for the value of the attributes inside the accessible object

Return Value

True if the accessible object has at least one attribute.

Details

Retrieves the text attributes inside the accessible object. Each attribute is composed by: a range, a name and a value.

It is left to the implementation to determine the serialization format of the value to a string. GTK provides support for various text attribute names and values, but implementations of this interface are free to add their own attributes.

If this function returns true, nranges will be set to a value greater than or equal to one, ranges will be set to a newly allocated array of GtkAccessibleTextRange instances.

Since 4.14
 

See also

gtk:accessbile-text
2026-08-27