Gst.Structure.new_from_string

function new_from_string(string:String):Gst.Structure {
    // Gjs wrapper for gst_structure_new_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

Since 1.2

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.free after use.