Builder.newFromFile

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.

class Builder
static
newFromFile
(
string filename
)

Parameters

filename string

filename of user interface description file

Return Value

Type: gtk.builder.Builder

a gtk.builder.Builder containing the described interface