glib.variant_builder
Module for [VariantBuilder] class
class VariantBuilder
Types 1
A utility type for constructing container-type #GVariant instances.
This is an opaque structure and may only be accessed using the following functions.
#GVariantBuilder is not threadsafe in any way. Do not attempt to access it from more than one thread.
Methods
void close() nothrowCloses the subcontainer inside the given builder that was opened by the most recent call to [glib.variant_builder.VariantBuilder.open].void open(glib.variant_type.VariantType type) nothrowOpens a subcontainer inside the given builder. When done adding items to the subcontainer, [glib.variant_builder.VariantBuilder.close] must be called. type is the type of the container: so to buil...Constructors
this(glib.variant_type.VariantType type)Allocates and initialises a new #GVariantBuilder.