Builder.newFromResource

Parses the UI definition at resource_path.

If there is an error locating the resource or parsing the description, then the program will be aborted.

class Builder
static
newFromResource
()

Parameters

resourcePath string

a gio.resource.Resource resource path

Return Value

Type: gtk.builder.Builder

a gtk.builder.Builder containing the described interface