Package: glib

Function g-variant-type-n-items

Lambda List

g-variant-type-n-items (vtype)

Arguments

vtype -- a tuple or dictionary entry g-variant-type instance

Return Value

The number of items in vtype.

Details

Determines the number of items contained in a tuple or dictionary entry vtype.

This function may only be used with tuple or dictionary entry types, but must not be used with the generic tuple type "r". In the case of a dictionary entry type, this function will always return 2.
 

See also

2021-7-31