# Gimp.ConfigInterface.build_data_path

    @accepts(unicode)
    @returns(unicode)
    def build_data_path(name):
        # Python wrapper for gimp_config_build_data_path()

Creates a search path as it is used in the gimprc file. The path returned by Gimp.config_build_data_path includes a directory below the user's gimp directory and one in the system-wide data directory.

Note that you cannot use this path directly with Gimp.Path.parse. As it is in the gimprc notation, you first need to expand and recode it using Gimp.ConfigPath.expand.

Since 2.4

name

  directory name (in UTF-8 encoding)

Returns