VariantBuilder.this

Allocates and initialises a new GVariantBuilder. You should call g_variant_builder_unref() on the return value when it is no longer needed. The memory will not be automatically freed by any other call. In most cases it is easier to place a GVariantBuilder directly on the stack of the calling function and initialise it with g_variant_builder_init(). Since 2.24

  1. this(GVariantBuilder* gVariantBuilder)
  2. this(VariantType type)
    class VariantBuilder

Parameters

type VariantType

a container type

Throws

ConstructionException GTK+ fails to create the object.

Meta