Value.setVariant

Set the contents of a variant gobject.Value to variant. If the variant is floating, it is consumed.

class Value
void
setVariant

Parameters

variant Variant

a glib.Variant, or NULL

Meta

Since

2.26