Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本上,我在 Mac 和 X11 上寻找 Win32 的 EnumChildWindows 之类的东西,它接受窗口句柄并返回其子窗口的列表。
对于 X11,请查看xwininfo源代码以了解其xwininfo -children工作原理。
xwininfo -children