<?xml version="1.0"?>
<page id="Gimp.Metadata.save_to_file"
      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.Metadata" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_metadata_save_to_file</api:name>
      <api:arg>
        <api:type>Gimp.Metadata</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>Gio.File</api:type>
        <api:name>file</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Metadata.save_to_file</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Metadata, Gio.File)
@returns(bool)
def save_to_file(self, file):
    # Python wrapper for gimp_metadata_save_to_file()
  </code></synopsis>
  <p>Saves <code>self</code> to <code>file</code>.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>self</code></title>
  <p>A <link xref="Gimp.Metadata"/> instance.</p>
</item>
<item>
<title><code>file</code></title>
  <p>The file to save the metadata to</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
