<?xml version="1.0"?>
<page id="Gimp.RunFunc"
      type="topic"
      style="callback"
      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="callback" type="guide"/>
  </info>
  <title>Gimp.RunFunc</title>
  <synopsis><code mime="text/x-gjs">
function onRunFunc(procedure: <link xref="Gimp.Procedure">Gimp.Procedure</link>, args: <link xref="Gimp.ValueArray">Gimp.ValueArray</link>): <link xref="Gimp.ValueArray">Gimp.ValueArray</link> {
}
  </code></synopsis>
  <p>The run function is run during the lifetime of the GIMP session,
each time a plug-in procedure is called.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>procedure</code></title>
  <p>the <link xref="Gimp.Procedure"/> that runs.</p>
</item>
<item>
<title><code>args</code></title>
  <p>the <code>procedure</code>'s arguments.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>the <code>procedure</code>'s return values.</p>
</item>
</terms>

</page>
