Structure.setArray

void setArray(string fieldname, gobject.value_array.ValueArray array)

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.

Parameters

fieldnamethe name of a field
arraya pointer to a #GValueArray