# Gimp.Procedure.prototype.add_gradient_argument

    function add_gradient_argument(name: String, nick: String, blurb: String, none_ok: Boolean, default_value: Gimp.Gradient, default_to_context: Boolean, flags: GObject.ParamFlags): void {
        // Gjs wrapper for gimp_procedure_add_gradient_argument()
    }

Add a new Gimp.Gradient argument to procedure.

Since 3.0

name

  the name of the argument to be created.

nick

  the label used in #GimpProcedureDialog.

blurb

  a more detailed help description.

none_ok

  whether null is a valid value.

default_value

  default value

default_to_context

  Use the context's gradient as default value.

flags

  argument flags.