DBusProxy.newForBus

Like g_dbus_proxy_new() but takes a GBusType instead of a gio.DBusConnection

gio.DBusProxy is used in this example[gdbus-wellknown-proxy].

Parameters

busType GBusType
flags GDBusProxyFlags

Flags used when constructing the proxy.

info DBusInterfaceInfo

A gio.DBusInterfaceInfo specifying the minimal interface that proxy conforms to or NULL.

name string

A bus name (well-known or unique).

objectPath string

An object path.

interfaceName string

A D-Bus interface name.

cancellable Cancellable

A gio.Cancellable or NULL.

callback GAsyncReadyCallback

Callback function to invoke when the proxy is ready.

userData void*

User data to pass to callback.

Meta

Since

2.26