Gst.Element.prototype.get_bus

function get_bus():Gst.Bus {
    // Gjs wrapper for gst_element_get_bus()
}

Returns the bus of the element. Note that only a Gst.Pipeline will provide a bus for the application.

Returns

the element's Gst.Bus. unref after usage. MT safe.