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.

class Bus
createWatch
()

Return Value

Type: Source

a glib.Source that can be added to a mainloop.