# GimpUi.get_progress_window

    function get_progress_window(): Gdk.Window {
        // Gjs wrapper for gimp_ui_get_progress_window()
    }

Returns the Gdk.Window of the window this plug-in's progress bar is shown in. Use it to make plug-in dialogs transient to this window as explained with gdk_window_set_transient_for().

You shouldn't have to call this function directly. Use GimpUi.window_set_transient instead.

Since 2.4

Returns

  A reference to a Gdk.Window or null. You should unref the window using g_object_unref() as soon as you don't need it any longer.