Structure.setList

void setList(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_LIST and set the field specified by fieldname. Be aware that this is slower then using GST_TYPE_LIST in a #GValue directly.

Parameters

fieldnamethe name of a field
arraya pointer to a #GValueArray