Gtk.Builder.new_from_file
Description: Reference for Gtk.Builder.new_from_file

### Constructor

# Gtk Buildernew_from_file

#### Declaration [src]

    GtkBuilder*
    gtk_builder_new_from_file (
      const char* filename
    )

#### Description [src]

Parses the UI definition in the file `filename`.

If there is an error opening the file or parsing the description then the program will be aborted. You should only ever attempt to parse user interface descriptions that are shipped as part of your program.

#### Parameters

`filename`

  Type: `const char*`

  Filename of user interface description file.

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

#### Return value

Type: `GtkBuilder`

A `GtkBuilder` containing the described interface.

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