Method

AtspiTextget_text_attributes

Declaration [src]

GHashTable*
atspi_text_get_text_attributes (
  AtspiText* obj,
  gint offset,
  gint* start_offset,
  gint* end_offset,
  GError** error
)

Description [src]

Gets the attributes applied to a range of text from an AtspiText object. The text attributes correspond to CSS attributes where possible.

The implementation of this method is provided by atspi_text_get_attributes() in language bindings

Parameters

offset gint
 

A #gint indicating the offset from which the attribute search is based.

start_offset gint*
 

A #gint pointer indicating the start of the desired text range.

 The argument will be set by the function.
end_offset gint*
 

A #gint pointer indicating the first character past the desired range.

 The argument will be set by the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GHashTable
 

A GHashTable describing the attributes at the given character offset.

 The caller of the method takes ownership of the data, and is responsible for freeing it.