Gdk.FileList.new_from_array
Description: Reference for Gdk.FileList.new_from_array

### Function

# Gdk FileListnew_from_array

#### Declaration [src]

    GdkFileList*
    gdk_file_list_new_from_array (
      GFile** files,
      gsize n_files
    )

#### Description [src]

Creates a new `GdkFileList` for the given array of files.

This function is meant to be used by language bindings.

Available since: | 4.8

#### Parameters

`files` | An array of `GFile*`
| The files to add to the list.
| The length of the array is specified in the `n_files` argument.
| The data is owned by the caller of the function.
`n_files` | `gsize`
| The number of files in the array.

#### Return value

Returns: | `GdkFileList`
| The newly create files list.
| The caller of the function takes ownership of the data, and is responsible for freeing it.