[ CCode ( cname = "g_param_value_convert" ) ]
public bool value_convert (Value src_value, ref Value dest_value, bool strict_validation)
Transforms src_value
into dest_value
if possible, and then validates dest_value
, in order for it
to conform to pspec
.
If strict_validation
is true this function will only succeed if the transformed
dest_value
complied to pspec
without modifications.
See also type_transformable, transform and value_validate.
src_value |
source Value |
dest_value |
destination Value of correct type for |
strict_validation |
true requires |
pspec |
a valid ParamSpec |
true if transformation and validation were successful, false
otherwise and |