newFromResource

fun newFromResource(resourcePath: String): Builder

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.

Return

a GtkBuilder containing the described interface

Parameters

resourcePath

a GResource resource path