| Trees | Indices | Help |
|
|---|
|
|
Defines AccessEngineAPI for navigating within an application and inspecting and manipulating its accessible objects.
Provides methods for reading information from accessible objects and for navigating relative to a AEPor.
Methods prefixed with get return the AEPor of interest. Methods prefixed with move do modify these variables. Methods prefixed with set actually change properties of the accessible itNote: Selected and editable states not being announced because they happen at unexpected times or on undesireable accessibles. Selection can probably be done properly with events. Editable we will just avoid for the time being.
License: The BSD License All rights reserved. This program and the accompanying materials are made available under the terms of the BSD license which accompanies this distribution, and is available at http://www.opensource.org/licenses/bsd-license.php
|
|||
| string |
|
||
| string |
|
||
| integer |
|
||
| string |
|
||
| string |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| string |
|
||
| boolean |
|
||
| boolean |
|
||
| dictionary of string |
|
||
| boolean |
|
||
| list of string |
|
||
| boolean |
|
||
| list of string |
|
||
| list of tuple of string |
|
||
| string |
|
||
|
|||
| string |
|
||
| string |
|
||
| string |
|
||
| string |
|
||
| AEPor |
|
||
| boolean |
|
||
| 2-tuple of integer |
|
||
| 2-tuple of integer |
|
||
| 2-tuple of integer |
|
||
| string |
|
||
| list of AEPors |
|
||
| integer |
|
||
| integer |
|
||
| string |
|
||
| integer |
|
||
| string |
|
||
| string |
|
||
| string |
|
||
| string |
|
||
| integer |
|
||
| string |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| list of string |
|
||
| integer |
|
||
| dictionary |
|
||
| dictionary |
|
||
| string |
|
||
| boolean |
|
||
| AEPor |
|
||
| boolean |
|
||
| float |
|
||
| 3-tuple of float |
|
||
| integer |
|
||
| integer |
|
||
| integer |
|
||
| AEPor |
|
||
| string |
|
||
| string |
|
||
| integer |
|
||
| 2-tuple of integer |
|
||
| AEPor |
|
||
| list of AEPor |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| AEPor |
|
||
| boolean |
|
||
| boolean |
|
||
|
|||
_state_descriptions = {('checked', False): _('unchecked'), ('c
|
|||
|
|||
|
|
|
Gets the unlocalized role for the accessible at the provided AEPor. The return value of this method is not suitable for output. It is suitable for comparison to known role values. |
Gets the localized role name for the accessible at the provided AEPor. The return value of this method is suitable for output. It is not suitable for comparison to known role values. |
|
Gets if the accessible at the given AEPor has any one of the given roles. The role is assumed to be a string that can be mapped to an appropriate role constant on the platform or indicates an extension role that is represented by a string. This method is more efficient than calling hasAccRole multiple times. |
|
|
|
Gets if the accessible at the given AEPor has one of the given states. The state is assumed to be a string that can be mapped to an appropriate state constant on the platform or indicates an extension state that is represented by a string. This method is more efficient than calling hasAccState multiple times. |
|
|
Note: The names appear to be unlocalized. |
|
Note: Unsure if the descriptions are localized or not. |
|
|
|
|
|
|
|
Note: Setting search to True can result in a very long search operation. Be careful. |
|
|
|
|
|
|
|
|
|
|
|
|
|
start is used possibly for both cases.
|
|
end_por is not given, defaults to getting all text to
the end of the current accessible.
|
|
|
end is None, the
start is used.
|
end is None, the
start is used.
|
|
end is None, the
start is used.
|
end is None, the start is
used.
|
|
|
|
|
See Also: getAccTextAttr |
Gets the value of the given attribute of an accessible of a given AEPor. Valid attribute names/value pairs include: (subject to change, GNOME ATK specification): left-margin: The pixel width of the left margin right-margin: The pixel width of the right margin indent: The number of pixels that the text is indented invisible: Either "true" or "false" indicates whether text is visible or not editable: Either "true" or "false" indicates whether text is editable or not pixels-above-lines: Pixels of blank space to leave above each newline-terminated line. pixels-below-lines: Pixels of blank space to leave below each newline-terminated line. pixels-inside-wrap: Pixels of blank space to leave between wrapped lines inside the same newline-terminated line (paragraph). bg-full-height: "true" or "false" whether to make the background color for each character the height of the highest font used on the current line, or the height of the font used for the current character. rise: Number of pixels that the characters are risen above the baseline underline: "none", "single", "double" or "low" strikethrough: "true" or "false" whether the text is strikethrough size: The size of the characters. scale: The scale of the characters: a string representation of a double. weight: The weight of the characters. language: The language used family-name: The font family name bg-color: The background color: RGB value of the format "u,u,u" fg-color: The foreground color: RGB value of the format "u,u,u" bg-stipple: "true" if a GdkBitmap is set for stippling the background color. fg-stipple: "true" if a GdkBitmap is set for stippling the foreground color. wrap-mode: The wrap mode of the text, if any: "none", "char" or "word" direction: The direction of the text, if set: "none", "ltr" or "rtl" justification: The justification of the text, if set: "left", "right", "center" or "fill" stretch: The stretch of the text, if set: "ultra_condensed", "extra_condensed", "condensed", "semi_condensed", "normal", "semi_expanded", "expanded", "extra_expanded" or "ultra_expanded" variant: The capitalization of the text, if set: "normal" or "small_caps" style: The slant style of the text, if set: "normal", "oblique" or "italic" last-defined: not a valid text attribute, for finding end of enumeration |
end is None, the
start is used.
See Also: getAccTextAttr |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Warning: This method should be considered unstable and likely to change in future versions of SUE |
|
|
|
|||
_state_descriptions
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 30 13:05:49 2008 | http://epydoc.sourceforge.net |