Method

GdkScreenget_toplevel_windows

since: 2.2

Declaration [src]

GList*
gdk_screen_get_toplevel_windows (
  GdkScreen* screen
)

Description [src]

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_get_default_root_window()).

The returned list should be freed with g_list_free(), but its elements need not be freed.

Available since: 2.2

Return value

Type: A list of GdkWindow*

list of toplevel windows, free with g_list_free().
The caller of the method takes ownership of the returned data container, but not the data inside it.