get_toplevel_windows


Description:

[ Version ( since = "2.2" ) ]
public List<unowned Window> get_toplevel_windows ()

Obtains a list of all toplevel windows known to GDK on the screen this.

A toplevel window is a child of the root window (see get_default_root_window ).

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

Parameters:

this

The Screen where the toplevels are located.

Returns:

list of toplevel windows, free with g_list_free




2022 vala-language.org