Package: glib

Function g-variant-type-next

Lambda List

g-variant-type-next (vtype)

Arguments

vtype -- a g-variant-type instance from a previous call

Return Value

The next g-variant-type instance after type, or NULL.

Details

Determines the next item type of a tuple or dictionary entry type. The argument vtype must be the result of a previous call to the functions 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 vtype is the last item in a tuple.
 

See also

2021-7-31