💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# pywinauto.element_info 应处理不同后端元素的类的接口 ## *class* `pywinauto.element_info.ElementInfo` 元素的抽象包装 > `children`(*\*\*kwargs*) 返回元素的子元素 > `class_name` Return the class name of the element > `control_id` Return the ID of the control > `descendants`(*\*\*kwargs*) 返回元素的后代 > `dump_window`() 将元素转储到一组属性 > `enabled` 如果元素已启用,则返回True > *static* `filter_with_depth`(*elements*, *root*, *depth*) 返回具有相对于根的特定深度级别的过滤元素 > `framework_id` 返回元素的框架 > `handle` Return the handle of the element > `has_depth`(*root*, *depth*) 如果元素具有相对于根的特定深度级别,则返回True > `iter_children`(*\*\*kwargs*) 迭代元素的子级 > `iter_descendants`(*\*\*kwargs*) 迭代元素的后代 > `name` Return the name of the element > `parent` 返回元素的父元素 > `process_id` 返回控制此元素的进程的ID > `rectangle` 返回元素的矩形 > `rich_text` 返回元素的文本 > `set_cache_strategy`(*cached*) 为元素的常用属性设置缓存策略 > `visible` 如果元素可见,则返回True