Is there a way to enumerate the open windows on Mac and X11?
Basically, I am looking for something like Win32's EnumChildWindows on Mac and X11, which takes a handle to a window and returns a list of its child windows开发者_如何学运维.
For X11, look at the xwininfo source to see how xwininfo -children
works.
精彩评论