Widget.getParentWindow

gdk.window.Window getParentWindow()

Gets widget’s parent window, or null if it does not have one.

Returns

the parent window of widget, or null

if it does not have a parent window.