build_data_path


Description:

[ Version ( since = "2.4" ) ]
public static string build_data_path (string name)

Creates a search path as it is used in the gimprc file.

The path returned by 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 parse. As it is in the gimprc notation, you first need to expand and recode it using expand.

Parameters:

name

directory name (in UTF-8 encoding)

Returns:

a newly allocated string