busGet

fnvoid 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

busTypea #GBusType
cancellablea #GCancellable or null
callbacka #GAsyncReadyCallback to call when the request is satisfied