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 Variant

a #GVariant, or %NULL

Meta

Since

2.26