Widget.setParentWindow

void setParentWindow(gdk.window.Window parentWindow)

Sets a non default parent window for widget.

For #GtkWindow classes, setting a parent_window effects whether the window is a toplevel window or can be embedded into other widgets.

For #GtkWindow classes, this needs to be called before the window is realized.

Parameters

parentWindowthe new parent window.