busGet
fn
void busGet(gio.types.BusType busType, gio.cancellable.Cancellable cancellable = null, gio.types.AsyncReadyCallback callback = null)Asynchronously connects to the message bus specified by bus_type.
When the operation is finished, callback will be invoked. You can then call [gio.global.busGetFinish] to get the result of the operation.
This is an asynchronous failable function. See [gio.global.busGetSync] for the synchronous version.
Parameters
busType | a #GBusType |
cancellable | a #GCancellable or null |
callback | a #GAsyncReadyCallback to call when the request is satisfied |