DBusProxy.this

Like g_dbus_proxy_new_sync() 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.

Return Value

A gio.DBusProxy or NULL if error is set. Free with g_object_unref().

Throws

GException on failure. ConstructionException GTK+ fails to create the object.

Meta

Since

2.26