| Trees | Indices | Help |
|---|
|
|
object --+
|
Base.TaskTools --+
|
View
Provides methods for reading information from accessible objects and for navigating relative to a POR.
Methods prefixed with get do not modify the task_por variable. They only return the POR of interest. Methods
prefixed with move do modify these variables. Methods prefixed
with set actually change properties of the accessible itself.
Note: Selected and editable states not being announced because they happen a unexpected times or on undesireable accessibles. Selection can probably be done properly with events. Editable we will just avoid for the time being.
|
|||
| float |
|
||
| 3-tuple of float |
|
||
| dictionary |
|
||
| list of string |
|
||
| string |
|
||
| string |
|
||
| string |
|
||
| string |
|
||
| dictionary of string |
|
||
| string |
|
||
| string |
|
||
| integer |
|
||
| string |
|
||
| string |
|
||
| list of string |
|
||
| list of string |
|
||
| list of tuple of string |
|
||
| string |
|
||
| integer |
|
||
| 2-tuple of integer |
|
||
| 2-tuple of integer |
|
||
| 2-tuple of integer |
|
||
| 2-tuple of integer |
|
||
| integer |
|
||
| integer |
|
||
| POR |
|
||
| string |
|
||
| string |
|
||
| integer |
|
||
| string |
|
||
| list of PORs |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| string |
|
||
| string |
|
||
| string |
|
||
| string |
|
||
| list of POR |
|
||
| boolean |
|
||
| boolean |
|
||
| POR |
|
||
|
|||
| POR |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| POR |
|
||
| boolean |
|
||
| boolean |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| boolean |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
| POR |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
| string |
|
||
| dictionary |
|
||
| POR |
|
||
| POR |
|
||
| string |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| boolean |
|
||
| POR |
|
||
|
|||
| integer |
|
||
| integer |
|
||
| boolean |
|
||
| boolean |
|
||
| 3-tuple of integer, string, integer |
|
||
| boolean |
|
||
| boolean |
|
||
|
|||
| integer |
|
||
| integer |
|
||
| string |
|
||
| integer |
|
||
|
Inherited from Inherited from Inherited from |
|||
|
|||
| dictionary of 2-tuple, string pairs |
_state_descriptions = {('checked', False): _('unchecked'), ('eMapping from state name/value pairs to localized string |
||
|
|||
|
Inherited from |
|||
|
|||
Gets the floating point value at the given POR. When |
Get the extents and step size of the floating point value at the POR. When |
Gets a dictionary of name:value default text attribute pairs at the
provided POR. When |
Gets a list of all selected text if n is None, or the nth selection if
it is specified, at the POR. When |
Gets all of the text from the starting offset to the ending offset at
the given PORs. If start is
None, defaults to the beginning of the text. If end is None, defaults to
the end of the text. When
|
Gets the accessible name of the window containing the POR. When |
Gets the accessible name of the application containing the POR. When |
Gets the POSIX locale of the application containing the POR as a string. When |
Gets a dictionary of name:value attribute pairs at the provided POR. When |
Gets the accessible name of the component at the provided POR. When |
Gets the accessible description of the component at the provided POR. When |
Gets the number of child accessibles of the accessible indicated by
the given POR. When |
Gets the localized role name for the accessible at the provided POR. When The return value of this method is suitable for output. It is not suitable for comparison to known role values. |
Gets the unlocalized role for the accessible at the provided POR. When The return value of this method is not suitable for output. It is suitable for comparison to known role values. |
Gets the names of the actions that can be performed at the provided POR. When
Note: The names appear to be unlocalized. |
Gets the descriptions of the actions that can be performed at the
provided POR. When
Note: Unsure if the descriptions are localized or not. |
Gets the key bindings associated with the actions at the given POR. When |
Gets the key binding associated with the common "click"
action which appears to be the action most commonly accessed by a hotkey.
Only returns the last of all defined hotkey sequences as it is usually
the globally available hotkey rather than the local menu mnemonic or a
sequence for activating the menu followed by the mnemonic. When |
Gets the tree level of the item indicated by the given POR. When |
Returns the number of rows and columns in a table indicated by the
given POR. When |
Returns the extents of a visual component at the POR. When |
Returns the focal point of a visual component at the POR. When |
Gets the position of the accessible object, usually upper-left corner |
Gets the row index of the POR within some 2D ordered collection. When |
Gets the column index of the POR within some 2D ordered collection. When |
Gets the POR to the cell
in the given POR at the
given row and column. When |
Gets the text description of a row in a table. When |
Gets the text description of a column in a table. When |
Gets the index the POR
within some 1D ordered collection. When |
Gets the label for the accessible at the provided POR. When |
Gets the PORs to
accessibles related to the given POR in the manner stated by the given relation. When
|
Gets if the accessible at the given POR has the given state. When |
Gets if the accessible at the given POR has one of the given states. When This method is more efficient than calling hasAccState multiple times. |
Gets if the accessible at the given POR has the given role. When |
Gets if the accessible at the given POR has any one of the given roles. When This method is more efficient than calling hasAccRole multiple times. |
Gets text describing the states of the given POR that might be of interest
to the user. When
|
Gets the text of the complete item that includes the specified POR. When |
Gets the text of the current character at the specified POR. When |
Gets the text of the current word at the specified POR. When |
Gets all of the selected items or accessible children in the
accessible indicated by the given POR. When |
Selects all of the items or accessible children in the accessible
indicated by the given POR.
When
|
Deselects all of the items or accessible children in the accessible
indicated by the given POR.
When
|
Gets the first selected items or accessible children in the accessible
indicated by the given POR.
When |
Executes the action at the given index in the list of all actions
named in the return value from getAccActionNames. When
|
Gets the POR representing the focus of the foreground application. If no focus event has been received yet by this Tier and search is True, performs a search for an accessible with state focus.
Note: Setting search to True can result in a very long search operation. Be careful. |
Sets the system input focus to the accessible in the provided POR. When
|
Selects the item or accessible indicated by the given POR. When
|
Deselects the item or accessible indicated by the given POR. When
|
Gets the text input caret POR within the given accessible POR. When |
Moves the text input caret to offset indicated by the given POR. When
|
Sets the system input focus, selection, and caret offset to the
provided POR. Ignores
errors trying each as focus, selection, and caret offset are not all
supported by every control. When |
Gets the POR of the
first accessible peer of a given POR. When |
Gets the POR of the last
accessible peer of a given POR. When |
Gets the POR of the next
accessible peer of a given POR. When |
Gets the POR of the
previous accessible peer of a given POR. When |
Gets the POR of the next
accessible of a given POR
in the AccessibleWalker order. When |
Gets the POR of the
previous accessible of a given POR. When |
Gets the POR of the next
item in the given POR. When
|
Gets the POR of the
start of the item. When |
Gets the POR of the
previous item in the given POR. When
|
Get the POR of the next
word in the item indicated by the given POR. When |
Get the POR of the
current word in the item indicated by the given POR. When |
Get the POR of the
previous word in the item indicated by the given POR. When |
Get the POR of the
current word in the item indicated by the given POR. When |
Get the POR of the next
character in the item indicated by the given POR. When |
Get the POR of the
previous character in the item indicated by the given POR. When |
Get the POR of the last
character in the item indicated by the given POR. When |
Get the POR of the first
column of the next row relative to the row containing the item indicated
by the given POR. When
|
Gets the POR to the cell
in the first column of the row containing the item indicated by the given
POR. When |
Get the POR of the first
column of the previous row relative to the row containing the item
indicated by the given POR.
When |
Builds an iterator over the accessibles next to the current POR. When |
Builds an iterator over the accessibles previous to the current POR. When |
Builds an iterator over the items next to the current POR. When
|
Builds an iterator over the items previous to the current POR. When
|
Gets the child accessible at the given index from the POR. When no POR is provided,
the |
Gets the POR of the
first character and first item of the parent of the provided POR. When no POR is provided,
the |
Builds an iterator over the ancestors of the current POR. When |
Gets a POR indicating the root of the active view. This is more efficient than getRootAcc when the root of the active view is needed.
|
Gets a POR to the top
level container of the given POR. When |
Gets a POR to the last
item of the last accessible under the root of the view. When |
Gets a POR to the last
item of the last accessible under the given root. When |
Gets a POR representing
the accessible found by treating the path integers as descendant indices
stating at the given POR.
When no POR is provided, the |
Iterates through the given roles comparing them with the roles of the
first len(roles) ancestors of the given POR starting with the immediate parent. When no POR is
provided, the
|
Gets a POR to the first accessible descendant or ancestor of the given POR with the given name.
|
Gets a POR to the first accessible descendant or ancestor of the given POR with the given role.
|
Gets a POR to the first accessible descendant or ancestor of the given POR with the given 'id' attribute named objname.
|
Gets a POR to the first accessible descendant or ancestor of the given POR matching the given callable predicate.
Warning: This method should be considered unstable and likely to change in future versions of LSR |
Moves the |
Modifies the |
Gets the value of the given attribute of an accessible of a given POR. When 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 |
Like getAccTextAttr, but gets the values of all of the
current attributes of an accessible of a given POR. When
See Also: getAccTextAttr |
From a given POR, get
the POR of the start of the
first line that follows the previous hard line break, or the start of the
first line if it is the first line in the accessible. When |
From a given POR, get
the POR of the end of the
first following line that ends with a hard line break, or the end of the
last line if it is the last line in the accessible. When |
Gets all text between two point of regards. If
|
Sets the given string as the text at the given POR. All existing text is
replaced. When |
Inserts the given text at the given POR. When
|
Sets the attributes of the text from the given starting POR to the ending POR. When
See Also: getAccTextAttr |
Copies the text from the given starting POR to the ending POR. When
|
Cuts the text from the given starting POR to the ending POR. When
|
Deletes the text from the given starting POR to the ending POR. When
|
Pastes the clipboard text at the given POR. When |
|
Sets the pointer POR for
this Tier. When
|
Gets the length of the text in the POR. When |
Gets the number of discontiguous text selections in the POR. When |
Selects the text from the given starting POR to the ending POR. If n is None, a new selection range is added, else
the nth selection is modified to the given range. When
|
Deselects the text from the given starting POR to the ending POR. If n is None, all
selected ranges are removed, else the nth selection is removed. When
|
Gets the key code, key sym, and modifiers of the last key pressed when this Tier was active. This information should not be used to trigger events, but rather as additional information for correcting accessibility problems in certain applications where the standard accessibility events do not provide enough information.
Note: The values returned by this event are platform specific. This may change in the future. Are you sure you don't want to use a Task.InputTask? |
Triggers a mouse event at the center of the given point of regard.
|
Performs a mouse left click on the center of a given point of regard.
|
Stops the |
Get the number of members within an accessible group. Often used to determine the size of a radio or menu group. |
Get the position of an accessible within a group. |
Obtain a resource locator ('URI') string which can be used to access the content to which this link "points" or is connected. |
Obtain he number of separate anchors associated with this accessible. |
|
|||
_state_descriptionsMapping from state name/value pairs to localized string
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:25 2007 | http://epydoc.sourceforge.net |