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() Since 2.22

class Window
getEffectiveToplevel
()

Return Value

Type: Window

the effective toplevel window containing window

Meta