Gst.Structure.prototype.id_take_value
function id_take_value(field:GLib.Quark, value:GObject.Value):void { // Gjs wrapper for gst_structure_id_take_value() }
Sets the field with the given GQuark field to value. If the field does not exist, it is created. If the field exists, the previous value is replaced and freed.
- field
a GLib.Quark representing a field
- value
the new value of the field