Gst.Structure.new_empty

function new_empty(name:String):Gst.Structure {
    // Gjs wrapper for gst_structure_new_empty()
}

Creates a new, empty Gst.Structure with the given name.

See Gst.set_name for constraints on the name parameter.

Free-function: gst_structure_free

name

name of new structure

Returns

a new, empty Gst.Structure