Method GTK2.Window()->set_transient_for()


Method set_transient_for

GTK2.Window set_transient_for(GTK2.Window parent)

Description

Dialog window should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. W(Dialog) and other convenience objects in GTK+ will sometimes call set_transient_for on your behalf.