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

key glib.variant_type.VariantType

a basic #GVariantType

value glib.variant_type.VariantType

a #GVariantType

Return Value

Type: glib.variant_type.VariantType

a new dictionary entry #GVariantType

Since 2.24