with fieldname or the existing field did not contain a GST_TYPE_LIST, this function returns false.
Structure.getList
bool getList(string fieldname, out gobject.value_array.ValueArray array)This is useful in language bindings where unknown #GValue types are not supported. This function will convert the GST_TYPE_LIST into a newly allocated GValueArray and return it through array. Be aware that this is slower then getting the #GValue directly.
Parameters
fieldname | the name of a field |
array | a pointer to a #GValueArray |
Returns
true if the value could be set correctly. If there was no field