| Trees | Indices | Help |
|---|
|
|
object --+
|
AccessibleMixin
Defines additional methods to be added to the AT-SPI Accessible object. The features defined here will be added to the Accessible class at run time so that all instances of Accessible have them (i.e. there is no need to explicitly wrap an Accessible in this class or derive a new class from it.)
|
|||
|
|||
| Accessibility.Accessible |
|
||
| string |
|
||
| boolean |
|
||
| Accessibility.Accessible |
|
||
| integer |
|
||
| integer |
|
||
| Accessibility.Accessible or None |
|
||
| Accessibility.Accessible or None |
|
||
| Accessibility.Accessible or None |
|
||
| list |
|
||
| Accessibility.Accessible or None |
|
||
| Accessibility.Accessible or None |
|
||
| Accessibility.Application |
|
||
| boolean |
|
||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Decrements the reference count on the accessible object when there are no Python references to this object. This provides automatic reference counting for AT-SPI objects. |
Iterator that yields one accessible child per iteration. If an exception is encountered, None is yielded instead.
|
Gets a human readable representation of the accessible.
|
|
Thin wrapper around getChildAtIndex.
|
Thin wrapper around childCount.
|
Gets the index of this accessible in its parent. Uses the implementation of this method provided by the Accessibility.Accessible object, but checks the bound of the value to ensure it is not outside the range of childCount reported by this accessible's parent.
|
Searches for a descendant node satisfying the given predicate starting at this node. The search is performed in depth-first order by default or in breadth first order if breadth_first is True. For example, my_win = node.findDescendant(lambda x: x.name == 'My Window') will search all descendants of node until one is located with the name 'My Window' or all nodes are exausted. Calls _findDescendantDepth or _findDescendantBreadth to start the recursive search.
|
Internal function for locating one descendant. Called by AccessibleMixin.findDescendant to start the search.
|
Internal function for locating one descendant. Called by AccessibleMixin.findDescendant to start the search.
|
Searches for all descendant nodes satisfying the given predicate starting at this node. For example, pred = lambda x: x.getRole() == Accessible.ROLE_PUSH_BUTTON buttons = node.findAllDescendants(pred) will locate all push button descendants of the current node. Calls findIterDescendants to start the exhaustive recursive search.
|
Iterator that yields Accessibility.Accessible that passed search criteria defined by pred. The search is performed in depth-first order and the results are returned in that order.
|
Searches for an ancestor satisfying the given predicate. Note that the AT-SPI DOM is not perfectly doubly linked. Node A may consider node B its child, but B is not guaranteed to have node A as its parent (i.e. its parent may be set to None). This means some searches may never make it all the way up the DOM to the desktop level.
|
Gets the most-parent accessible (the application) of this accessible. Tries using the getApplication method introduced in AT-SPI 1.7.0 first before resorting to traversing parent links.
Warning: Cycles involving more than the previously traversed accessible are not detected by this code. |
Verifies that the underlying CORBA object still exists.
|
| Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Jun 4 15:33:27 2007 | http://epydoc.sourceforge.net |