get-top-level-windows in Eventspaces
get-top-level-windows
Returns a list of visible top-level frames and dialogs in the current eventspace.
(get-top-level-windows) -> list of frame% and dialog% objects
(get-top-level-windows)
frame%
dialog%