VariantType.next

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

@type must be the result of a previous call to g_variant_type_first() or g_variant_type_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

the next #GVariantType after @type, or %NULL

Since 2.24

Meta