pywinauto.element_info¶
Interface for classes which should deal with different backend elements
- class
pywinauto.element_info.
ElementInfo
¶Abstract wrapper for an element
children
(**kwargs)¶Return children of the element
class_name
¶Return the class name of the element
control_id
¶Return the ID of the control
descendants
(**kwargs)¶Return descendants of the element
dump_window
()¶Dump an element to a set of properties
enabled
¶Return True if the element is enabled
- static
filter_with_depth
(elements, root, depth)¶Return filtered elements with particular depth level relative to the root
framework_id
¶Return the framework of the element
handle
¶Return the handle of the element
has_depth
(root, depth)¶Return True if element has particular depth level relative to the root
name
¶Return the name of the element
parent
¶Return the parent of the element
process_id
¶Return the ID of process that controls this element
rectangle
¶Return rectangle of element
rich_text
¶Return the text of the element
set_cache_strategy
(cached)¶Set a cache strategy for frequently used attributes of the element
visible
¶Return True if the element is visible