Allocates and initialises a new glib.VariantDict
You should call Variant.dictUnref 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 glib.VariantDict directly on the stack of the calling function and initialise it with Variant.dictInit. This is particularly useful when you are using glib.VariantDict to construct a glib.Variant
the glib.Variant with which to initialise the dictionary
a glib.VariantDict
ConstructionException GTK+ fails to create the object.
2.40
Allocates and initialises a new glib.VariantDict
You should call Variant.dictUnref 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 glib.VariantDict directly on the stack of the calling function and initialise it with Variant.dictInit. This is particularly useful when you are using glib.VariantDict to construct a glib.Variant