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 Variant.typeFree on the return value.

Parameters

key VariantType
value VariantType

Return Value

a new dictionary entry glib.VariantType

Since 2.24

Throws

ConstructionException GTK+ fails to create the object.