Screen.getToplevelWindows
gdk.window.Window[] getToplevelWindows()Obtains a list of all toplevel windows known to GDK on the screen screen. A toplevel window is a child of the root window (see gdk.global.getDefaultRootWindow).
The returned list should be freed with glib.list.List.free, but its elements need not be freed.
Returns
list of toplevel windows, free with glib.list.List.free