# Gimp.Procedure.prototype.add_unit_return_value

    function add_unit_return_value(name: String, nick: String, blurb: String, show_pixels: Boolean, show_percent: Boolean, value: Gimp.Unit, flags: GObject.ParamFlags): void {
        // Gjs wrapper for gimp_procedure_add_unit_return_value()
    }

Add a new Gimp.Unit return value 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.

show_pixels

  whether to allow pixels as a valid option

show_percent

  whether to allow percent as a valid option

value

  the default value.

flags

  argument flags.