<?xml version="1.0"?>
<page id="Gimp.ConfigPath.expand_to_files"
      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.ConfigPath" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Array(Gio.File)</api:type>
      </api:returns>
      <api:name>gimp_config_path_expand_to_files</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>path</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.ConfigPath.expand_to_files</title>
  <synopsis><code mime="text/x-gjs">
function expand_to_files(path: String): Array(<link href="../Gio-2.0/Gio.File.html">Gio.File</link>) {
    // Gjs wrapper for gimp_config_path_expand_to_files()
}
  </code></synopsis>
  <p>Paths as stored in the gimprc have to be treated special. The
string may contain special identifiers such as for example
${gimp_dir} that have to be substituted before use. Also the user's
filesystem may be in a different encoding than UTF-8 (which is what
is used for the gimprc).</p>  <p>This function runs <code>path</code> through <link xref="Gimp.ConfigPath.expand"/> and
<link xref="Gimp.Path.parse"/>, then turns the filenames returned by
<link xref="Gimp.Path.parse"/> into GFile using g_file_new_for_path().</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>path</code></title>
  <p>a NUL-terminated string in UTF-8 encoding</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>
                 a <link href="../GLib-2.0/GLib.List.html">GLib.List</link> of newly allocated <link href="../Gio-2.0/Gio.File.html">Gio.File</link> objects.</p>
</item>
</terms>

</page>
