Method

AtspiDocumentget_attribute_value

Declaration [src]

gchar*
atspi_document_get_attribute_value (
  AtspiDocument* obj,
  const gchar* attribute,
  GError** error
)

Description [src]

Gets the value of a single attribute, if specified for the document as a whole.

Deprecated since:2.10

Use atspi_document_get_document_attribute_value instead.

This method is renamed to atspi_document_get_document_attribute_value() in language bindings

Parameters

attribute const gchar*
 

A string indicating the name of a specific attribute.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gchar*
 

A string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The value is a NUL terminated UTF-8 string.