<?xml version="1.0"?>
<page id="Gimp.LoadProcedure"
      type="guide"
      style="class"
      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="class" type="guide"/>
  </info>
  <title>Gimp.LoadProcedure</title>
  <synopsis><code>
from gi.repository import Gimp

load_procedure = Gimp.LoadProcedure()
  </code></synopsis>
  <p>A [class@Procedure] subclass that makes it easier to write file load
procedures.</p>  <p>It automatically adds the standard</p>  <p>( [enum@RunMode], [iface@Gio.File] )</p>  <p>arguments and the standard</p>  <p>( [class@Image] )</p>  <p>return value of a load procedure. It is possible to add additional
arguments.</p>  <p>When invoked via [method@Procedure.run], it unpacks these standard
arguments and calls @run_func which is a [callback@RunImageFunc]. The
"args" [struct@ValueArray] of [callback@RunImageFunc] only contains
additionally added arguments.</p>

  <synopsis>
    <title>Hierarchy</title>
    <tree>
      <item>
        <code>GObject.Object</code>
      <item>
        <code>Gimp.Procedure</code>
      <item>
        <code>Gimp.FileProcedure</code>
      <item>
        <code>Gimp.LoadProcedure</code>
      </item>
      </item>
      </item>
      </item>
    </tree>
  </synopsis>
  <links type="topic" ui:expanded="true"
         api:type="function" api:mime="text/python"
         groups="constructor" style="linklist">
    <title>Constructors</title>
  </links>
  <links type="topic" ui:expanded="true"
         api:type="function" api:mime="text/python"
         groups="method" style="linklist">
    <title>Methods</title>
  </links>
  <links type="topic" ui:expanded="true"
         api:type="function" api:mime="text/python"
         groups="function" style="linklist">
    <title>Static Functions</title>
  </links>
  <links type="topic" ui:expanded="true" groups="property" style="linklist">
    <title>Properties</title>
  </links>
  <links type="topic" ui:expanded="true" groups="signal" style="linklist">
    <title>Signals</title>
  </links>
  <links type="topic" ui:expanded="true" groups="vfunc" style="linklist">
    <title>Virtual functions</title>
  </links>
  <links type="topic" ui:expanded="true" groups="field" style="linklist">
    <title>Fields</title>
  </links>
  <links type="topic" ui:expanded="true" groups="#first #default #last" style="linklist">
    <title>Other</title>
  </links>
</page>
