VariantBuilder.open

Opens a subcontainer inside the given builder. When done adding items to the subcontainer, g_variant_builder_close() must be called. It is an error to call this function in any way that would cause an inconsistent value to be constructed (ie: adding too many values or a value of an incorrect type). Since 2.24

class VariantBuilder
void
open

Parameters

type VariantType

a GVariantType

Meta