<?xml version="1.0"?>
<page id="Gimp.Procedure.add_argument_from_property"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Procedure" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>GObject.ParamSpec</api:type>
      </api:returns>
      <api:name>gimp_procedure_add_argument_from_property</api:name>
      <api:arg>
        <api:type>GObject.Object</api:type>
        <api:name>config</api:name>
      </api:arg>
      <api:arg>
        <api:type>String</api:type>
        <api:name>prop_name</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Procedure.prototype.add_argument_from_property</title>
  <synopsis><code mime="text/x-gjs">
function add_argument_from_property(config: <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link>, prop_name: String): <link href="../GObject-2.0/GObject.ParamSpec.html">GObject.ParamSpec</link> {
    // Gjs wrapper for gimp_procedure_add_argument_from_property()
}
  </code></synopsis>
  <p>Add a new argument to <code>procedure</code> according to the specifications of
the property <code>prop_name</code> registered on <code>config</code>.</p>  <p>See [method@Procedure.add_argument] for details.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>config</code></title>
  <p>a <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link>.</p>
</item>
<item>
<title><code>prop_name</code></title>
  <p>property name in <code>config</code>.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>the added <link href="../GObject-2.0/GObject.ParamSpec.html">GObject.ParamSpec</link>.</p>
</item>
</terms>

</page>
