Variant.this

Creates a new tuple #GVariant out of the items in @children. The type is determined from the types of @children. No entry in the @children array may be %NULL.

If @n_children is 0 then the unit tuple is constructed.

If the @children are floating references (see g_variant_ref_sink()), the new instance takes ownership of them as if via g_variant_ref_sink().

Parameters

children Variant[]

the items to make the tuple out of

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.24