get_windows


Description:

public unowned List<Window> get_windows ()

Gets a list of the window associated with the application.

The list is sorted by most recently focused window, such that the first element is the currently focused window. (Useful for choosing a parent for a transient window.)

The list that is returned should not be modified in any way. It will only remain valid until the next focus change or window creation or deletion.

Parameters:

this

an application

Returns:

the list of windows