paramValueConvert

fun paramValueConvert(pspec: ParamSpec, srcValue: Value, destValue: Value, strictValidation: Boolean): Boolean

Transforms @src_value into @dest_value if possible, and then validates @dest_value, in order for it to conform to @pspec. If

Return

true if transformation and validation were successful, false otherwise and @dest_value is left untouched.

Parameters

pspec

a valid #GParamSpec

srcValue

source #GValue

destValue

destination #GValue of correct type for @pspec

strictValidation

true requires @dest_value to conform to @pspec without modifications