Constructor

GtkBuildernew_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 const char*
 

Filename of user interface description file.

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

Return value

Returns: GtkBuilder
 

A GtkBuilder containing the described interface.

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