<?xml version="1.0"?>
<page id="Gimp.PlugIn.extension_process"
      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.PlugIn" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>none</api:type>
      </api:returns>
      <api:name>gimp_plug_in_extension_process</api:name>
      <api:arg>
        <api:type>Gimp.PlugIn</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>int</api:type>
        <api:name>timeout</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.PlugIn.extension_process</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.PlugIn, int)
@returns(none)
def extension_process(self, timeout):
    # Python wrapper for gimp_plug_in_extension_process()
  </code></synopsis>
  <p>Processes one message sent by GIMP and returns.</p>  <p>Call this function in an endless loop after calling
<link xref="Gimp.Procedure.extension_ready"/> to process requests for running
temporary procedures.</p>  <p>See [method@PlugIn.extension_enable] for an asynchronous way of
doing the same if running an endless loop is not an option.</p>  <p>See also: [method@PlugIn.add_temp_procedure].</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>self</code></title>
  <p>A plug-in.</p>
</item>
<item>
<title><code>timeout</code></title>
  <p>The timeout (in ms) to use for the select() call.</p>
</item>
</terms>

</page>
