Builder.newFromResource

Builds the [GtkBuilder UI definition][BUILDER-UI] 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 #GResource resource path

Return Value

Type: gtk.builder.Builder

a #GtkBuilder containing the described interface