Structure.setList

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.

class Structure
void
setList

Parameters

fieldname string

the name of a field

array gobject.value_array.ValueArray

a pointer to a #GValueArray