valueFromString

open fun valueFromString(pspec: <Error class: unknown class>, string: String, value: <Error class: unknown class>): <Error class: unknown class><Boolean>

Demarshals a value from a string.

This function calls g_value_init() on the @value argument, so it need not be initialised beforehand.

Can handle char, uchar, boolean, int, uint, long, ulong, enum, flags, float, double, string, GdkRGBA and GtkAdjustment type values.

Upon errors false will be returned and @error will be assigned a GError from the %GTK_BUILDER_ERROR domain.

Return

true on success

Parameters

pspec

the GParamSpec for the property

string

the string representation of the value

value

the GValue to store the result in