Declaration [src]

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.



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.