expand_to_files


Description:

[ Version ( since = "2.10" ) ]
public static List<File> expand_to_files (string path) throws Error

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).

This function runs path through [func@Gimp.ConfigPath.expand] and `gimp_path_parse()`, then turns the filenames returned by `gimp_path_parse()` into gfile using [func@Gio.File.new_for_path].

Parameters:

path

a NUL-terminated string in UTF-8 encoding

Returns:

a List of newly allocated File objects.