VariantType.next

Determines the next item type of a tuple or dictionary entry type.

type must be the result of a previous call to glib.variant_type.VariantType.first or glib.variant_type.VariantType.next.

If called on the key type of a dictionary entry then this call returns the value type. If called on the value type of a dictionary entry then this call returns null.

For tuples, null is returned when type is the last item in a tuple.

class VariantType
next
()

Return Value

Type: glib.variant_type.VariantType

the next #GVariantType after type, or null

Since 2.24