Window.getEffectiveParent
gdk.window.Window getEffectiveParent()Obtains the parent of window, as known to GDK. Works like gdk.window.Window.getParent for normal windows, but returns the window’s embedder for offscreen windows.
See also: gdk.global.offscreenWindowGetEmbedder
Returns
effective parent of window