Function

GObject-2.0GObjectparam_value_convert

  • 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 g_value_type_transformable(), g_value_transform() and g_param_value_validate().

    Parameters

    Returns boolean

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