<?xml version="1.0"?>
<page id="GimpUi.ProcedureDialog.set_sensitive"
      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="GimpUi.ProcedureDialog" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>none</api:type>
      </api:returns>
      <api:name>gimp_procedure_dialog_set_sensitive</api:name>
      <api:arg>
        <api:type>GimpUi.ProcedureDialog</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>property</api:name>
      </api:arg>
      <api:arg>
        <api:type>bool</api:type>
        <api:name>sensitive</api:name>
      </api:arg>
      <api:arg>
        <api:type>GObject.Object</api:type>
        <api:name>config</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>config_property</api:name>
      </api:arg>
      <api:arg>
        <api:type>bool</api:type>
        <api:name>config_invert</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.ProcedureDialog.set_sensitive</title>
  <synopsis><code mime="text/x-python">
@accepts(GimpUi.ProcedureDialog, unicode, bool, GObject.Object, unicode, bool)
@returns(none)
def set_sensitive(self, property, sensitive, config, config_property, config_invert):
    # Python wrapper for gimp_procedure_dialog_set_sensitive()
  </code></synopsis>
  <p>Sets sensitivity of the widget associated to <code>property</code> in <code>self</code>. If
<code>config</code> is <code>None</code>, then it is set to the value of <code>sensitive</code>.
Otherwise <code>sensitive</code> is ignored and sensitivity is bound to the value
of <code>config_property</code> of <code>config</code> (or the negation of this value
if @config_reverse is <code>True</code>).</p>

<terms>
<item>
<title><code>self</code></title>
  <p>the <link xref="GimpUi.ProcedureDialog"/>.</p>
</item>
<item>
<title><code>property</code></title>
  <p>name of a property of the <link href="../Gimp-3.0/Gimp.Procedure.html">Gimp.Procedure</link> <code>self</code>
                  has been created for.</p>
</item>
<item>
<title><code>sensitive</code></title>
  <p>whether the widget associated to <code>property</code> should
                  be sensitive.</p>
</item>
<item>
<title><code>config</code></title>
  <p>an optional config object.</p>
</item>
<item>
<title><code>config_property</code></title>
  <p>name of a property of <code>config</code>.</p>
</item>
<item>
<title><code>config_invert</code></title>
  <p>whether to negate the value of <code>config_property</code>.</p>
</item>
</terms>

</page>
