Gimp.ProcedureConfig.prototype.end_run
function end_run(status: Gimp.PDBStatusType): void {
// Gjs wrapper for gimp_procedure_config_end_run()
}
This function is the counterpart of [method@ProcedureConfig.begin_run] and must always be called in pairs in a procedure's run(), before returning return values.
If the @run_mode passed to [method@ProcedureConfig.end_run] was Gimp.RunMode.interactive, config is saved as last used values to be used when the procedure runs again. Additionally, if the Gimp.Image passed to [method@ProcedureConfig.begin_run] was not null, config is attached to @image as last used values for this image using a Gimp.Parasite and [method@Image.attach_parasite].
If @run_mode was not Gimp.RunMode.noninteractive, this function also conveniently calls [func@displays_flush], which is what most procedures want and doesn't do any harm if called redundantly.
After a Gimp.RunMode.interactive run, Gimp.ArgumentSync.parasite values that have been changed are written back to their corresponding image parasite.
See [method@ProcedureConfig.begin_run].
Since 3.0
- status
the return status of the [class@Procedure]'s run()