VariantType.newDictEntry

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

keya basic #GVariantType
valuea #GVariantType

Returns

a new dictionary entry #GVariantType

Since 2.24