set_transient_for


Description:

public void set_transient_for (Window parent)

Indicates to the window manager that this is a transient dialog associated with the application window parent.

This allows the window manager to do things like center this on parent and keep this above parent.

See gtk_window_set_transient_for if you’re using GtkWindow or GtkDialog.

Parameters:

this

a toplevel Window

parent

another toplevel Window