Variant.tuple


Description:

public Variant.tuple (Variant[] children)

Creates a new tuple Variant 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 children.length 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

the items to make the tuple out of

n_children

the length of children

Returns:

a floating reference to a new Variant tuple