| libatspi Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Known Implementations | ||||
AtspiDocument; gchar * atspi_document_get_locale (AtspiDocument *obj,GError **error); gchar * atspi_document_get_attribute_value (AtspiDocument *obj,gchar *attribute,GError **error); GHashTable * atspi_document_get_attributes (AtspiDocument *obj,GError **error);
gchar * atspi_document_get_locale (AtspiDocument *obj,GError **error);
Gets the locale associated with the document's content. e.g. the locale for LOCALE_TYPE_MESSAGES.
|
a pointer to the Accessible object on which to operate. |
|
|
Returns : |
a string compliant with the POSIX standard for locale description. |
gchar * atspi_document_get_attribute_value (AtspiDocument *obj,gchar *attribute,GError **error);
Gets the value of a single attribute, if specified for the document as a whole.
(name-value pair) being queried.
|
a pointer to the Accessible object on which to operate. |
|
a string indicating the name of a specific attribute |
|
|
Returns : |
a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object. |
GHashTable * atspi_document_get_attributes (AtspiDocument *obj,GError **error);
Gets all attributes specified for a document as a whole.
For attributes which change within the document content, see atspi_text_get_attribute_run instead.
|
a pointer to the Accessible object on which to operate. |
|
|
Returns : |
an ::AttributeSet containing the attributes of the document, as name-value pairs. [element-type gchar* gchar*][transfer full gchar* gchar*] |