Bus.createWatch

Create watch for this bus. The #GSource will be dispatched whenever a message is on the bus. After the GSource is dispatched, the message is popped off the bus and unreffed.

As with other watches, there can only be one watch on the bus, including any signal watch added with #gst_bus_add_signal_watch.

class Bus
createWatch
()

Return Value

Type: glib.source.Source

a #GSource that can be added to a #GMainLoop.