VariantType.dict_entry


Description:

public VariantType.dict_entry (VariantType key, 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 [method@GLib.VariantType.free] on the return value.

Parameters:

key

a basic type to use for the key

value

a type to use for the value

Returns:

a new dictionary entry type Since 2.24