pywinauto.linux.atspi_element_info

Linux AtspiElementInfo class

class pywinauto.linux.atspi_element_info.AtspiElementInfo(handle=None)

Search class and hierarchy walker for AT-SPI elements

atspi_accessible = <pywinauto.linux.atspi_objects.AtspiAccessible object>
atspi_version()
children(**kwargs)

Return children of the element

class_name

Return the class name of the element

component
control_id

Return the ID of the window

control_type

Return the class name of the element

descendants(**kwargs)

Return descendants of the element

description()
enabled
exact_only_props = ['handle', 'pid', 'control_id', 'visible', 'enabled', 'rectangle', 'framework_id', 'framework_name', 'atspi_version', 'runtime_id', 'description']
framework_id()
framework_name()
get_action()
get_atspi_value_obj()
get_layer()

Return rectangle of element

get_order()
get_state_set()
handle

Return the handle of the window

name

Return the text of the window

parent

Return the parent of the element

pid

Return the ID of process that controls this window

process_id

Return the ID of process that controls this window

re_props = ['class_name', 'name', 'control_type']
rectangle

Return rectangle of element

renamed_props = {'title': ('name', None), 'title_re': ('name_re', None), 'process': ('pid', None), 'visible_only': ('visible', {True: True, False: None}), 'enabled_only': ('enabled', {True: True, False: None}), 'top_level_only': ('depth', {True: 1, False: None})}
rich_text

Return the text of the element

runtime_id

Return the runtime ID of the element

search_order = ['handle', 'control_type', 'class_name', 'pid', 'control_id', 'visible', 'enabled', 'name', 'rectangle', 'framework_id', 'framework_name', 'atspi_version', 'runtime_id', 'description']
set_cache_strategy(cached)

Set a cache strategy for frequently used attributes of the element

visible