A node in the tree of UI elements. This class is mixed in with
Accessibility.Accessible to both make it easier to use and to add
additional functionality. It also has a debugName which is set up
automatically when doing searches.
|
|
|
|
|
|
|
|
|
grabFocus(self)
Attempts to set the keyboard focus to this Accessible. |
source code
|
|
|
click(self,
button=1)
Generates a raw mouse click event, using the specified button. |
source code
|
|
|
doubleClick(self,
button=1)
Generates a raw mouse double-click event, using the specified button. |
source code
|
|
|
point(self,
mouseDelay=None)
Move mouse cursor to the center of the widget. |
source code
|
|
|
|
|
deselectAll(self)
Deselects all selected children. |
source code
|
|
|
|
|
|
|
typeText(self,
string)
Type the given text into the node, with appropriate delays and
logging. |
source code
|
|
|
|
|
getLogString(self)
Get a string describing this node for the logs, respecting the
config.absoluteNodePaths boolean. |
source code
|
|
|
satisfies(self,
pred)
Does this node satisfy the given predicate? |
source code
|
|
|
|
|
|
|
getRelativeSearch(self)
Get a (ancestorNode, predicate, isRecursive) triple that identifies
the best way to find this Node uniquely. |
source code
|
|
|
|
|
_fastFindChild(self,
pred,
recursive=True)
Searches for an Accessible using methods from pyatspi.utils |
source code
|
|
|
findChild(self,
pred,
recursive=True,
debugName=None,
retry=True,
requireResult=True)
Search for a node satisyfing the predicate, returning a Node. |
source code
|
|
|
findChildren(self,
pred,
recursive=True,
isLambda=False)
Find all children/descendents satisfying the predicate. |
source code
|
|
|
findAncestor(self,
pred)
Search up the ancestry of this node, returning the first Node
satisfying the predicate, or None. |
source code
|
|
|
child(self,
name='
' ,
roleName='
' ,
description='
' ,
label='
' ,
recursive=True,
retry=True,
debugName=None)
Finds a child satisying the given criteria. |
source code
|
|
|
isChild(self,
name='
' ,
roleName='
' ,
description='
' ,
label='
' ,
recursive=True,
retry=False,
debugName=None)
Determines whether a child satisying the given criteria exists. |
source code
|
|
|
menu(self,
menuName,
recursive=True)
Search below this node for a menu with the given name. |
source code
|
|
|
menuItem(self,
menuItemName,
recursive=True)
Search below this node for a menu item with the given name. |
source code
|
|
|
textentry(self,
textEntryName,
recursive=True)
Search below this node for a text entry with the given name. |
source code
|
|
|
button(self,
buttonName,
recursive=True)
Search below this node for a button with the given name. |
source code
|
|
|
childLabelled(self,
labelText,
recursive=True)
Search below this node for a child labelled with the given text. |
source code
|
|
|
childNamed(self,
childName,
recursive=True)
Search below this node for a child with the given name. |
source code
|
|
|
tab(self,
tabName,
recursive=True)
Search below this node for a tab with the given name. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__init__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
debugName
debug name assigned during search operations
|
|
dead
Is the node dead (defunct) ?
|
|
children
a list of this Accessible's children
|
|
roleName
get_role_name(self)
|
|
role
get_role(self)
|
|
indexInParent
get_index_in_parent(self)
|
|
actions
A dictionary of supported action names as keys, with Action objects
as values.
|
|
combovalue
The value (as a string) currently selected in the combo box.
|
|
URI
|
|
text
For instances with an AccessibleText interface, the text as a string.
|
|
caretOffset
For instances with an AccessibleText interface, the caret offset as
an integer.
|
|
position
A tuple containing the position of the Accessible: (x, y)
|
|
size
A tuple containing the size of the Accessible: (w, h)
|
|
extents
A tuple containing the location and size of the Accessible: (x, y, w,
h)
|
|
labeler
'labeller' (read-only list of Node instances): The node(s) that
is/are a label for this node.
|
|
labeller
'labeller' (read-only list of Node instances): The node(s) that
is/are a label for this node.
|
|
labelee
'labellee' (read-only list of Node instances): The node(s) that this
node is a label for.
|
|
labellee
'labellee' (read-only list of Node instances): The node(s) that this
node is a label for.
|
|
sensitive
Is the Accessible sensitive (i.e.
|
|
showing
|
|
focusable
Is the Accessible capable of having keyboard focus?
|
|
focused
Does the Accessible have keyboard focus?
|
|
checked
Is the Accessible a checked checkbox?
|
|
isChecked
Is the Accessible a checked checkbox? Compatibility property, same as
Node.checked.
|
|
isSelected
Is the Accessible selected? Compatibility property, same as
Node.selected.
|
|
selected
Is the Accessible selected?
|
|
selectedChildren
Returns a list of children that are selected.
|
|
value
The value contained by the AccessibleValue interface.
|
|
minValue
The minimum value of self.value
|
|
minValueIncrement
The minimum value increment of self.value
|
|
maxValue
The maximum value of self.value
|
Inherited from object :
__class__
|