Window.getEffectiveToplevel

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

Works like gdk_window_get_toplevel(), but treats an offscreen window's embedder as its parent, using gdk_window_get_effective_parent().

See also: gdk_offscreen_window_get_embedder()

Return: the effective toplevel window containing @window

class Window
getEffectiveToplevel
()

Meta

Since

2.22