VariantDict.this

this(void * ptr, Flag!"Take" take) nothrow
No documentation available for this declaration.
this(glib.variant.Variant fromAsv = null) nothrow

Allocates and initialises a new #GVariantDict.

You should call glib.variant_dict.VariantDict.unref on the return value when it is no longer needed. The memory will not be automatically freed by any other call.

In some cases it may be easier to place a #GVariantDict directly on the stack of the calling function and initialise it with glib.variant_dict.VariantDict.init_. This is particularly useful when you are using #GVariantDict to construct a #GVariant.

Parameters

fromAsvthe #GVariant with which to initialise the dictionary

Returns

a #GVariantDict