Gst.Toc.new

function new(scope:Gst.TocScope):Gst.Toc {
    // Gjs wrapper for gst_toc_new()
}

Create a new Gst.Toc structure.

scope

scope of this TOC

Returns

newly allocated Gst.Toc structure, free it with gst_toc_unref().