if it does not have a parent window.
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
gdk.window.Window getParentWindow()Gets widget’s parent window, or null if it does not have one.
if it does not have a parent window.