Gimp.Procedure.prototype.add_aux_argument

function add_aux_argument(pspec: GObject.ParamSpec): GObject.ParamSpec {
    // Gjs wrapper for gimp_procedure_add_aux_argument()
}
  

Add a new auxiliary argument to procedure according to pspec specifications.

Auxiliary arguments are not passed to the procedure in run() and are not known to the PDB. They are however members of the Gimp.ProcedureConfig created by Gimp.Procedure.prototype.create_config and can be used to persistently store whatever last used values the procedure wants to remember across invocations

Since 3.0

pspec

the argument specification.

Returns

the same pspec.