Variant.variant


Description:

public Variant.variant (Variant value)

Boxes value.

The result is a Variant instance representing a variant containing the original value.

If child is a floating reference (see g_variant_ref_sink), the new instance takes ownership of child.

Parameters:

value

a Variant instance

Returns:

a floating reference to a new variant Variant instance