Gimp.Procedure.prototype.add_argument_from_property

function add_argument_from_property(config: GObject.Object, prop_name: String): GObject.ParamSpec {
    // Gjs wrapper for gimp_procedure_add_argument_from_property()
}
  

Add a new argument to procedure according to the specifications of the property prop_name registered on config.

See [method@Procedure.add_argument] for details.

Since 3.0

config

a GObject.Object.

prop_name

property name in config.

Returns

the added GObject.ParamSpec.