Since 2.24
VariantType.newDictEntry
glib.variant_type.VariantType newDictEntry(glib.variant_type.VariantType key, glib.variant_type.VariantType value)Constructs the type corresponding to a dictionary entry with a key of type key and a value of type value.
It is appropriate to call [glib.variant_type.VariantType.free] on the return value.
Parameters
key | a basic #GVariantType |
value | a #GVariantType |
Returns
a new dictionary entry #GVariantType