first
Description:
Determines the first item type of a tuple or dictionary entry type.
This function may only be used with tuple or dictionary entry types, but must not be used with the generic tuple type g_variant_type_tuple.
In the case of a dictionary entry type, this returns the type of the key.
null is returned in case of this being g_variant_type_unit.
This call, together with next provides an iterator interface over tuple and dictionary entry types.
Parameters:
this |
a tuple or dictionary entry VariantType |
Returns:
the first item type of this, or null Since 2.24 |