Gst.Query.new_custom

function new_custom(type:Gst.QueryType, structure:Gst.Structure):Gst.Query {
    // Gjs wrapper for gst_query_new_custom()
}

Constructs a new custom query object. Use gst_query_unref() when done with it.

Free-function: gst_query_unref

type

the query type

structure

a structure for the query

Returns

a new Gst.Query