Atspi.Document¶
- Implementations:
Methods¶
|
|
|
|
Virtual Methods¶
None
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class Atspi.Document¶
- Bases:
- get_current_page_number()¶
- Raises:
- Returns:
a
int
indicating the current page number in the #AccessibleDocument object.- Return type:
Gets the current page number of an #AccessibleDocument object.
- get_document_attribute_value(attribute)¶
- Parameters:
attribute (
str
) – a string indicating the name of a specific attribute.- Raises:
- Returns:
a string corresponding to the value of the specified attribute, or an empty string if the attribute is unspecified for the object.
- Return type:
Gets the value of a single attribute, if specified for the document as a whole.
Deprecated since version 2.10: Use
Atspi.Document.get_document_attribute_value
instead.
- get_document_attributes()¶
- Raises:
- Returns:
a
GLib.HashTable
containing the constant attributes of the document, as name-value pairs.- Return type:
Gets all constant attributes for the document as a whole. For attributes that change within the document content, see atspi_text_get_attribute_run instead.
Deprecated since version 2.10: Use
Atspi.Document.get_document_attributes
instead.
- get_locale()¶
- Raises:
- Returns:
a string compliant with the POSIX standard for locale description.
- Return type:
Gets the locale associated with the document’s content, e.g. the locale for LOCALE_TYPE_MESSAGES.