Variant.this
- this(GVariant* gVariant)
- this(bool boolean)
- this(string formatString, string endptr, void** app)
- this(char value)
- this(short value)
- this(ushort value)
- this(int value)
- this(uint value)
- this(long value)
- this(ulong value)
- this(double value)
- this(string string)
- this(Variant value)
- this(string[] strv)
- this(VariantType childType, Variant child)
- this(VariantType childType, Variant[] children)
- this(Variant[] children)
- this(Variant key, Variant value)
- this(VariantType elementType, void[] elements, gsize elementSize)
- this(VariantType type, void* data, gsize size, int trusted, GDestroyNotify notify, void* userData)
- this(VariantType type, Bytes bytes, int trusted)
- this(string format, void** app)
glib Variant Variant
constructorsfunctionsstatic functionsvariables
Provides access to the serialised data for an array of fixed-sized items. value must be an array with fixed-sized elements. Numeric types are fixed-size as are tuples containing only other fixed-sized types. element_size must be the size of a single element in the array. For example, if calling this function for an array of 32 bit integers, you might say sizeof (gint32). This value isn't used except for the purpose of a double-check that the form of the serialised data matches the caller's expectation. n_elements, which must be non-NULL is set equal to the number of items in the array. Since 2.32