pywinauto.win32_element_info¶
Implementation of the class to deal with a native element (window with a handle)
- class
pywinauto.win32_element_info.
HwndElementInfo
(handle=None)¶Wrapper for window handler
children
(**kwargs)¶Return a list of immediate children of the window
class_name
¶Return the class name of the window
control_id
¶Return the ID of the window
descendants
(**kwargs)¶Return descendants of the window (all children from sub-tree)
dump_window
()¶Dump a window as a set of properties
enabled
¶Return True if the window is enabled
handle
¶Return the handle of the window
name
¶Return the text of the window
parent
¶Return the parent of the window
process_id
¶Return the ID of process that controls this window
rectangle
¶Return rectangle of the element
rich_text
¶Return the text of the window
set_cache_strategy
(cached)¶Set a cache strategy for frequently used attributes of the element
visible
¶Return True if the window is visible