false otherwise and dest_value is left untouched.
paramValueConvert
fn
bool paramValueConvert(gobject.param_spec.ParamSpec pspec, gobject.value.Value srcValue, gobject.value.Value destValue, bool strictValidation)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 [gobject.value.Value.typeTransformable], [gobject.value.Value.transform] and [gobject.global.paramValueValidate].
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 |
Returns
true if transformation and validation were successful,