Gimp.Procedure.add_argument
@accepts(Gimp.Procedure, GObject.ParamSpec)
@returns(GObject.ParamSpec)
def add_argument(self, pspec):
# Python wrapper for gimp_procedure_add_argument()
Add a new argument to self according to pspec specifications. The arguments will be ordered according to the call order to [method@Procedure.add_argument] and [method@Procedure.add_argument_from_property].
If pspec is floating, ownership will be taken over by self, allowing to pass directly `g*_param_spec_*()` calls as arguments.
Since 3.0
- self
the Gimp.Procedure.
- pspec
the argument specification.
- Returns