VariantType.this

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 g_variant_type_free() on the return value.

Parameters

key VariantType

a basic #GVariantType

value VariantType

a #GVariantType

Return Value

a new dictionary entry #GVariantType

Since 2.24

Throws

ConstructionException GTK+ fails to create the object.

Meta