NativeDialog.setTransientFor

void setTransientFor(gtk.window.Window parent = null)

Dialog windows should be set transient for the main application window they were spawned from. This allows [window managers][gtk-X11-arch] to e.g. keep the dialog on top of the main window, or center the dialog over the main window.

Passing null for parent unsets the current transient window.

Parameters

parentparent window, or null