from_string

function from_string(string:String):Gst.Structure {
    // Gjs wrapper for gst_structure_from_string()
}

Creates a Gst.Structure from a string representation. If end is not NULL, a pointer to the place inside the given string where parsing ended will be returned.

Free-function: gst_structure_free

string

a string representation of a Gst.Structure.

Returns

a new Gst.Structure or NULL when the string could not be parsed. Free with Gst.Structure.prototype.free after use.