GLib.VariantType.new_tuple

function new_tuple(items: Array(GLib.VariantType)): GLib.VariantType {
    // Gjs wrapper for g_variant_type_new_tuple()
}
  

Constructs a new tuple type, from items.

length is the number of items in items, or -1 to indicate that items is null-terminated.

It is appropriate to call GLib.VariantType.prototype.free on the return value.

items

an array of #GVariantTypes, one for each item

Returns

a new tuple GLib.VariantType

Since 2.24