Converts a Variant to a Value.
If value
is floating, it is consumed.
The rules specified in the gvalue_to_gvariant function are used - this function is essentially its reverse form. So, a Variant containing any basic or string array type will be converted to a Value containing a basic value or string array. Any other Variant ( handle, variant, tuple, dict entry) will be converted to a Value containing that Variant .
The conversion never fails - a valid Value is always returned in out_gvalue
.
value |
A Variant. |
out_gvalue |
Return location pointing to a zero-filled (uninitialized) Value. |