Window.setTransientFor

void setTransientFor(gdk.window.Window parent)

Indicates to the window manager that window is a transient dialog associated with the application window parent. This allows the window manager to do things like center window on parent and keep window above parent.

See [gtk.window.Window.setTransientFor] if you’re using #GtkWindow or #GtkDialog.

Parameters

parentanother toplevel #GdkWindow