Gimp.ProgressVtable->get_window_handle

returns the handle of the window where the progress is displayed.