next


Description:

public unowned VariantType next ()

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

this must be the result of a previous call to [method@GLib.VariantType.first] or [ method@GLib.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 this is the last item in the tuple.

Parameters:

this

a type from a previous call

Returns:

the next type after this, or `NULL` if there are no further types Since 2.24