Value.setVariant

Set the contents of a variant #GValue to variant. If the variant is floating, it is consumed.

class Value
void
setVariant

Parameters

variant glib.variant.VariantG

a #GVariant, or null