Gst.Query.new_drain

function new_drain():Gst.Query {
    // Gjs wrapper for gst_query_new_drain()
}

Constructs a new query object for querying the drain state.

Free-function: gst_query_unref

Returns

a new Gst.Query