Widget.setParentWindow

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.

class Widget
void
setParentWindow

Parameters

parentWindow gdk.window.Window

the new parent window.