Gimp.ProgressVtable->get_window

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