DBusConnection.get

Asynchronously connects to the message bus specified by bus_type.

When the operation is finished, callback will be invoked. You can then call Bus.getFinish to get the result of the operation.

This is an asynchronous failable function. See Bus.getSync for the synchronous version.

class DBusConnection
static
void
get

Parameters

busType GBusType
cancellable Cancellable

a gio.Cancellable or NULL

callback GAsyncReadyCallback

a GAsyncReadyCallback to call when the request is satisfied

userData void*

the data to pass to callback

Meta

Since

2.26