Window.getEffectiveToplevel

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

Works like Window.getToplevel, but treats an offscreen window's embedder as its parent, using Window.getEffectiveParent.

See also: OffscreenWindow.getEmbedder

class Window
getEffectiveToplevel
()

Return Value

Type: Window

the effective toplevel window containing window

Meta

Since

2.22