Builder.valueFromStringType

Demarshals a value from a string.

Unlike gtk.builder.Builder.valueFromString, this function takes a gobject.types.TYPE_FLAG_RESERVED_ID_BIT instead of gobject.param_spec.ParamSpec.

Calls gobject.value.Value.init_ on the value argument, so it need not be initialised beforehand.

Upon errors false will be returned and error will be assigned a glib.error.ErrorG from the GTK_BUILDER_ERROR domain.

class Builder
bool
valueFromStringType

Parameters

type gobject.types.GType
string_ string

the string representation of the value

value gobject.value.Value

the gobject.value.Value to store the result in

Return Value

Type: bool

true on success