# pywinauto.win32\_element\_info
處理本機元素的類的實現(帶句柄的窗口)
## *class* `pywinauto.win32_element_info.HwndElementInfo(handle=None)`
Wrapper for window handler
> `automation_id`
返回元素的AutomationId
> `children`(*\*\*kwargs*)
返回窗口的直接子級列表
> `class_name`
Return the class name of the window
> `control_id`
Return the ID of the window
> `control_type`
Return control type of the element
> `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
> *classmethod* `from_point`(*x*, *y*)
> `full_control_type`
返回元素的完整控制類型字符串
> `handle`
Return the handle of the window
> `iter_children`(*\*\*kwargs*)
Return a generator of immediate children 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
> *classmethod* `top_from_point`(*x*, *y*)
> `visible`
Return True if the window is visible
> `wm_get_ctrl_name` *= -1*
> `wm_get_ctrl_type` *= -1*
- 什么是Pywinauto
- 入門指南
- 如何
- 等待長時間操作
- 遠程執行指南
- 每種不同控制類型可用的方法
- 貢獻者
- 開發筆記
- 待辦項目
- 更新日志
- 基本用戶輸入模塊
- pywinauto.mouse
- pywinauto.keyboard
- 主要用戶模塊
- pywinauto.application
- pywinauto.findbestmatch
- pywinauto.findwindows
- pywinauto.timings
- 特定功能
- pywinauto.clipboard
- pywinauto.win32_hooks
- 控件參考
- pywinauto.base_wrapper
- pywinauto.controls.hwndwrapper
- pywinauto.controls.menuwrapper
- pywinauto.controls.common_controls
- pywinauto.controls.win32_controls
- pywinauto.controls.uiawrapper
- pywinauto.controls.uia_controls
- Pre-supplied Tests
- pywinauto.tests.allcontrols
- pywinauto.tests.asianhotkey
- pywinauto.tests.comboboxdroppedheight
- pywinauto.tests.comparetoreffont
- pywinauto.tests.leadtrailspaces
- pywinauto.tests.miscvalues
- pywinauto.tests.missalignment
- pywinauto.tests.missingextrastring
- pywinauto.tests.overlapping
- pywinauto.tests.repeatedhotkey
- pywinauto.tests.translation
- pywinauto.tests.truncation
- 后端內部實施模塊
- pywinauto.backend
- pywinauto.element_info
- pywinauto.win32_element_info
- pywinauto.uia_element_info
- pywinauto.uia_defines
- 內部模塊
- pywinauto.controlproperties
- pywinauto.handleprops
- pywinauto.xml_helpers
- pywinauto.fuzzydict
- pywinauto.actionlogger
- pywinauto.sysinfo
- pywinauto.remote_memory_block