DBusProxy.this

Like g_dbus_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.

#GDBusProxy is used in this example[gdbus-wellknown-proxy].

Parameters

busType GBusType

A #GBusType.

flags GDBusProxyFlags

Flags used when constructing the proxy.

info DBusInterfaceInfo

A #GDBusInterfaceInfo 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 #GCancellable or %NULL.

Return: A #GDBusProxy 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