Gst.Structure.prototype.foreach

function foreach(func:Gst.StructureForeachFunc):Boolean {
    // Gjs wrapper for gst_structure_foreach()
}

Calls the provided function once for each field in the Gst.Structure. The function must not modify the fields. Also see Gst.map_in_place.

func

a function to call for each field

Returns

TRUE if the supplied function returns TRUE For each of the fields, FALSE otherwise.