Gimp.progress_get_window_handle

function progress_get_window_handle(): Number(gint) {
    // Gjs wrapper for gimp_progress_get_window_handle()
}
  

Returns the native window ID of the toplevel window this plug-in's progress is displayed in.

This function returns the native window ID of the toplevel window this plug-in\'s progress is displayed in.

Since 2.2

Returns

The progress bar's toplevel window.