MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / DesktopWindow

Class DesktopWindow

source/binding/Python/maa/toolkit.py:36–50  ·  view source on GitHub ↗

桌面窗口信息 / Desktop window information 通过 Toolkit.find_desktop_windows 获取。 Obtained via Toolkit.find_desktop_windows. Attributes: hwnd: 窗口句柄 / Window handle class_name: 窗口类名 / Window class name window_name: 窗口标题 / Window title

Source from the content-addressed store, hash-verified

34
35@dataclass
36class DesktopWindow:
37 """桌面窗口信息 / Desktop window information
38
39 通过 Toolkit.find_desktop_windows 获取。
40 Obtained via Toolkit.find_desktop_windows.
41
42 Attributes:
43 hwnd: 窗口句柄 / Window handle
44 class_name: 窗口类名 / Window class name
45 window_name: 窗口标题 / Window title
46 """
47
48 hwnd: ctypes.c_void_p
49 class_name: str
50 window_name: str
51
52
53class Toolkit:

Callers 1

find_desktop_windowsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected