GtkWindow::set_transient_for

void set_transient_for(GtkWindow parent);

Sets parent as the transient parent of the window.

Setting a transient parent helps the window manager to relate two windows to each other. In most cases, dialogs should have a transient parent window so that the window manager knows where to position the dialog window.

See also: get_transient_for() , set_destroy_with_parent()