Structure.getList

This is useful in language bindings where unknown #GValue types are not supported. This function will convert the %GST_TYPE_ARRAY and %GST_TYPE_LIST into a newly allocated GValueArray and return it through @array. Be aware that this is slower then getting the #GValue directly.

class Structure
bool
getList

Parameters

fieldname string

the name of a field

array ValueArray

a pointer to a #GValueArray

Return Value

Type: bool

%TRUE if the value could be set correctly. If there was no field with @fieldname or the existing field did not contain an int, this function returns %FALSE.

Since 1.12

Meta