<?xml version="1.0"?>
<page id="Gimp.ModuleQueryFunc"
      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.ModuleQueryFunc</title>
  <synopsis><code mime="text/x-gjs">
function onModuleQueryFunc(module: <link href="../GObject-2.0/GObject.TypeModule.html">GObject.TypeModule</link>): <link xref="Gimp.ModuleInfo">Gimp.ModuleInfo</link> {
}
  </code></synopsis>
  <p>The signature of the query function a loadable GIMP module must
implement. In the module, the function must be called [func@Module.query].</p>  <p>[class@Module] will copy the returned [struct@ModuleInfo], so the
module doesn't need to keep these values around (however in most
cases the module will just return a pointer to a constant
structure).</p>

<terms>
<item>
<title><code>module</code></title>
  <p>The module responsible for this loadable module.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>The info struct describing the module.</p>
</item>
</terms>

</page>
