get_effective_toplevel


Description:

[ Version ( since = "2.22" ) ]
public unowned Window get_effective_toplevel ()

Gets the toplevel window that’s an ancestor of this.

Works like get_toplevel, but treats an offscreen window's embedder as its parent, using get_effective_parent.

See also: offscreen_window_get_embedder

Parameters:

this

a Window

Returns:

the effective toplevel window containing this