set_variant


Description:

[ Version ( since = "2.26" ) ]
public void set_variant (Variant? variant)

Set the contents of a variant Value to variant.

If the variant is floating, it is consumed.

Parameters:

this

a valid Value of type g_type_variant

variant

a Variant, or null