<?xml version="1.0"?>
<page id="Gimp.Scanner.new_file"
      type="topic"
      style="constructor"
      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.Scanner" group="constructor" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.Scanner</api:type>
      </api:returns>
      <api:name>gimp_scanner_new_file</api:name>
      <api:arg>
        <api:type>Gio.File</api:type>
        <api:name>file</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Scanner.new_file</title>
  <synopsis><code mime="text/x-gjs">
function new_file(file: <link href="../Gio-2.0/Gio.File.html">Gio.File</link>): <link xref="Gimp.Scanner">Gimp.Scanner</link> {
    // Gjs wrapper for gimp_scanner_new_file()
}
  </code></synopsis>

  <p>Since 2.10</p>
<terms>
<item>
<title><code>file</code></title>
  <p>a <link href="../Gio-2.0/Gio.File.html">Gio.File</link></p>
</item>
<item>
<title><code>Returns</code></title>
  <p>The new <link xref="Gimp.Scanner"/>.</p>
</item>
</terms>

</page>
