VariantG.newTuple

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 glib.variant.VariantG.refSink), the new instance takes ownership of them as if via glib.variant.VariantG.refSink.

class VariantG
static
newTuple

Parameters

children glib.variant.VariantG[]

the items to make the tuple out of

Return Value

Type: glib.variant.VariantG

a floating reference to a new #GVariant tuple