[gio.global.busUnwatchName] to stop watching the name.
busWatchName
fn
uint busWatchName(gio.types.BusType busType, string name, gio.types.BusNameWatcherFlags flags, gobject.closure.Closure nameAppearedClosure = null, gobject.closure.Closure nameVanishedClosure = null)Version of [gio.global.busWatchName] using closures instead of callbacks for easier binding in other languages.
Parameters
busType | The type of bus to watch a name on. |
name | The name (well-known or unique) to watch. |
flags | Flags from the #GBusNameWatcherFlags enumeration. |
nameAppearedClosure | #GClosure to invoke when name is known to exist or null. |
nameVanishedClosure | #GClosure to invoke when name is known to not exist or null. |
Returns
An identifier (never 0) that can be used with