Package: glib

Function glib:variant-type-n-items

Lambda List

glib: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 r tuple type. In the case of a dictionary entry type, this function will always return 2.
 

See also

2024-11-20