Variant.this

Boxes @value. The result is a #GVariant 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 Variant

a #GVariant instance

Return Value

a floating reference to a new variant #GVariant instance

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.24