def window__find_handles():
"""
Find all the top-level window handles (type HWND)
:return: list of window handles.
"""
ret = []
def callback(hwnd):
ret.append(hwnd)
# return True to continue the enumeration
return True
window__enum_window_handles(callback)
return ret
评论列表
文章目录