# GimpUi.window_set_transient_for_display

    @accepts(Gtk.Window, Gimp.Display)
    @returns(none)
    def window_set_transient_for_display(window, display):
        # Python wrapper for gimp_window_set_transient_for_display()

Indicates to the window manager that window is a transient dialog associated with the GIMP image window that is identified by it's display ID. See gdk_window_set_transient_for () for more information.

Most of the time you will want to use the convenience function GimpUi.window_set_transient.

Since 2.4

window

  the Gtk.Window that should become transient

display

  display of the image window that should become the parent