<?xml version="1.0"?>
<page id="Gimp.ConfigWriter.finish"
      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.ConfigWriter" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_config_writer_finish</api:name>
      <api:arg>
        <api:type>Gimp.ConfigWriter</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>footer</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.ConfigWriter.finish</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.ConfigWriter, unicode)
@returns(bool)
def finish(self, footer):
    # Python wrapper for gimp_config_writer_finish()
  </code></synopsis>
  <p>This function finishes the work of <code>self</code> and unrefs it
afterwards.  It closes all open elements, appends an optional
comment and releases all resources allocated by <code>self</code>.</p>  <p>Using any function except <link xref="Gimp.ConfigWriter.ref"/> or
<link xref="Gimp.ConfigWriter.unref"/> after this function is forbidden
and will trigger warnings.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>self</code></title>
  <p>a <link xref="Gimp.ConfigWriter"/></p>
</item>
<item>
<title><code>footer</code></title>
  <p>text to include as comment at the bottom of the file</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
