<?xml version="1.0"?>
<page id="Gimp.Path.parse"
      type="topic"
      style="function"
      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.Path" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Array(String)</api:type>
      </api:returns>
      <api:name>gimp_path_parse</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>path</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>max_paths</api:name>
      </api:arg>
      <api:arg>
        <api:type>Boolean</api:type>
        <api:name>check</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Path.parse</title>
  <synopsis><code mime="text/x-gjs">
function parse(path: String, max_paths: Number(gint), check: Boolean): [return_value: Array(String), check_failed: Array(String)] {
    // Gjs wrapper for gimp_path_parse()
}
  </code></synopsis>


<terms>
<item>
<title><code>path</code></title>
  <p>A list of directories separated by #G_SEARCHPATH_SEPARATOR.</p>
</item>
<item>
<title><code>max_paths</code></title>
  <p>The maximum number of directories to return.</p>
</item>
<item>
<title><code>check</code></title>
  <p><code>true</code> if you want the directories to be checked.</p>
</item>
<item>
<title><code>return_value</code></title>
  <p>
            A <link href="../GLib-2.0/GLib.List.html">GLib.List</link> of all directories in <code>path</code>.</p>
</item>
<item>
<title><code>check_failed</code></title>
  <p>
                  Returns a <link href="../GLib-2.0/GLib.List.html">GLib.List</link> of path elements for which the check failed.</p>
</item>
</terms>

</page>
