Version of g_bus_watch_name
using closures instead of callbacks for easier binding in other languages.
bus_type |
The type of bus to watch a name on. |
name |
The name (well-known or unique) to watch. |
flags |
Flags from the BusNameWatcherFlags enumeration. |
name_appeared_closure |
Closure to invoke when |
name_vanished_closure |
Closure to invoke when |
An identifier (never 0) that an be used with unwatch_name to stop watching the name. |