Builder.newFromString

Builds the user interface described by string (in the [GtkBuilder UI definition][BUILDER-UI] format).

If string is null-terminated, then length should be -1. If length is not -1, then it is the length of string.

If there is an error parsing string then the program will be aborted. You should not attempt to parse user interface description from untrusted sources.

class Builder
static
newFromString
(
string string_
)

Parameters

string_ string

a user interface (XML) description

Return Value

Type: gtk.builder.Builder

a #GtkBuilder containing the interface described by string