class GLib::VariantBuilder
- GLib::VariantBuilder
- Reference
- Object
Overview
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.
Defined in:
lib/gi-crystal/src/auto/g_lib-2.0/variant_builder.crConstructors
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
- #add_value(value : _) : Nil
- #close : Nil
- #end : GLib::Variant
- #finalize
- #open(type : GLib::VariantType) : Nil
- #ref : GLib::VariantBuilder
- #to_unsafe : Pointer(Void)
- #unref : Nil
Constructor Detail
Class Method Detail
Returns the type id (GType) registered in GLib type system.