utilSetValueFromString

fnvoid utilSetValueFromString(out gobject.value.Value value, string valueStr)

Converts the string to the type of the value and sets the value with it.

Note that this function is dangerous as it does not return any indication if the conversion worked or not.

Parameters

valuethe value to set
valueStrthe string to get the value from