<?xml version="1.0"?>
<page id="Gimp.context_set_dynamics"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_context_set_dynamics</api:name>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>name</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.context_set_dynamics</title>
  <synopsis><code mime="text/x-python">
@accepts(unicode)
@returns(bool)
def context_set_dynamics(name):
    # Python wrapper for gimp_context_set_dynamics()
  </code></synopsis>
  <p>Set the active paint dynamics.</p>  <p>Sets the active paint dynamics. The paint dynamics will be used in
all subsequent paint operations when dynamics are enabled. The name
should be a name of an installed paint dynamics. Returns an error if
no matching paint dynamics is found.</p>
  <p>Since 2.8</p>
<terms>
<item>
<title><code>name</code></title>
  <p>A name of a paint dynamics.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
