since: 3.0

Declaration [src]

gtk_application_get_windows (
  GtkApplication* application

Description [src]

Gets a list of the GtkWindows associated with 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.

Available since: 3.0

Return value

Type: A list of GtkWindow*

A GList of GtkWindow.

The returned data is owned by the instance.