<?xml version="1.0"?>
<page id="Gimp.ConfigInterface.build_data_path"
      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.ConfigInterface" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>unicode</api:type>
      </api:returns>
      <api:name>gimp_config_build_data_path</api:name>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>name</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.ConfigInterface.build_data_path</title>
  <synopsis><code mime="text/x-python">
@accepts(unicode)
@returns(unicode)
def build_data_path(name):
    # Python wrapper for gimp_config_build_data_path()
  </code></synopsis>
  <p>Creates a search path as it is used in the gimprc file.  The path
returned by <link xref="Gimp.config_build_data_path"/> includes a directory
below the user's gimp directory and one in the system-wide data
directory.</p>  <p>Note that you cannot use this path directly with <link xref="Gimp.path_parse"/>.
As it is in the gimprc notation, you first need to expand and
recode it using <link xref="Gimp.ConfigPath.expand"/>.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>name</code></title>
  <p>directory name (in UTF-8 encoding)</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
