VariantBuilder
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.
Skipped during bindings generation
method
add
: Varargs parameter is not supportedmethod
add_parsed
: Varargs parameter is not supportedfield
x
: Array parameter of type guintptr is not supportedfield
y
: Array parameter of type guintptr is not supported
Constructors
Allocates and initialises a new #GVariantBuilder.
Allocate a new VariantBuilder.
Allocate a new VariantBuilder using the provided AutofreeScope.
Allocate a new VariantBuilder.
Allocate a new VariantBuilder using the provided AutofreeScope.
Functions
Registers a cleaner to be executed when this proxy object is garbage collected.
Initialises a #GVariantBuilder structure.
Opens a subcontainer inside the given @builder. When done adding items to the subcontainer, g_variant_builder_close() must be called. @type is the type of the container: so to build a tuple of several values, @type must include the tuple itself.
Increases the reference count on @builder.
Removes a previously registered cleaner from this proxy object.