Structure.setArray

This is useful in language bindings where unknown GValue types are not supported. This function will convert a @array to %GST_TYPE_ARRAY and set the field specified by @fieldname. Be aware that this is slower then using %GST_TYPE_ARRAY in a #GValue directly.

Since 1.12

class Structure
void
setArray

Parameters

fieldname string

the name of a field

array ValueArray

a pointer to a #GValueArray

Meta