Variant.this

Creates a new dictionary entry glib.Variant key and value must be non-NULL. key must be a value of a basic type (ie: not a container).

If the key or value are floating references (see Variant.refSink), the new instance takes ownership of them as if via Variant.refSink.

Parameters

key Variant

a basic glib.Variant, the key

value Variant

a glib.Variant, the value

Return Value

a floating reference to a new dictionary entry glib.Variant

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.24