Gio.File.new_build_filename
Description: Reference for Gio.File.new_build_filename

### Function

# Gio Filenew_build_filename

since: 2.56

#### Declaration

    GFile*
    g_file_new_build_filename (
      const gchar* first_element,
      ...
    )

#### Description

Constructs a `GFile` from a series of elements using the correct separator for filenames.

Using this function is equivalent to calling g_build_filename(), followed by `g_file_new_for_path()` on the result.

Available since: 2.56

This function is not directly available to language bindings.

#### Parameters

`first_element`

  Type: `const gchar*`

  The first element in the path.

  The data is owned by the caller of the function.
  The value is a file system path, using the OS encoding.

`...`

  Type: ``

  Remaining elements in path, terminated by `NULL`.

#### Return value

Type: `GFile`

A new `GFile`.

The caller of the function takes ownership of the data, and is responsible for freeing it.