DBusConnection.gBusGet

Asynchronously connects to the message bus specified by bus_type. When the operation is finished, callback will be invoked. You can then call g_bus_get_finish() to get the result of the operation. This is a asynchronous failable function. See g_bus_get_sync() for the synchronous version. Since 2.26

class DBusConnection
static
void
gBusGet

Parameters

busType GBusType

A GBusType.

cancellable Cancellable

A GCancellable or NULL.

callback GAsyncReadyCallback

A GAsyncReadyCallback to call when the request is satisfied.

userData void*

The data to pass to callback.

Meta