Package dogtail :: Module tree :: Class Root
[hide private]
[frames] | no frames]

Class Root

source code

object --+    
         |    
      Node --+
             |
            Root

FIXME:

Instance Methods [hide private]
 
applications(self)
Get all applications.
source code
 
application(self, appName, retry=True)
Gets an application by name, returning an Application instance or raising an exception.
source code

Inherited from Node: blink, button, child, childLabelled, childNamed, click, contains, deselect, deselectAll, doActionNamed, doubleClick, dump, findAncestor, findChild, findChildren, getAbsoluteSearchPath, getChildAtPoint, getLogString, getRelativeSearch, getUserVisibleStrings, grabFocus, isChild, keyCombo, menu, menuItem, point, satisfies, select, selectAll, tab, textentry, typeText

Inherited from Node (private): _fastFindChild

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from Node: URI, actions, caretOffset, checked, children, combovalue, dead, debugName, extents, focusable, focused, indexInParent, isChecked, isSelected, labelee, labeler, labellee, labeller, maxValue, minValue, minValueIncrement, position, role, roleName, selected, selectedChildren, sensitive, showing, size, text, value

Inherited from object: __class__

Method Details [hide private]

application(self, appName, retry=True)

source code 

Gets an application by name, returning an Application instance or raising an exception.

This is implemented using findChild, and hence will automatically retry if no such child is found, and will eventually raise an exception. It also logs the search.