DBusObjectManagerClient.this

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

This is a synchronous failable constructor - the calling thread is blocked until a reply is received. See g_dbus_object_manager_client_new_for_bus() for the asynchronous version.

Parameters

busType GBusType
flags GDBusObjectManagerClientFlags

Zero or more flags from the GDBusObjectManagerClientFlags enumeration.

name string

The owner of the control object (unique or well-known name).

objectPath string

The object path of the control object.

getProxyTypeFunc GDBusProxyTypeFunc

A GDBusProxyTypeFunc function or NULL to always construct gio.DBusProxy proxies.

getProxyTypeUserData void*

User data to pass to get_proxy_type_func.

getProxyTypeDestroyNotify GDestroyNotify

Free function for get_proxy_type_user_data or NULL.

cancellable Cancellable

A gio.Cancellable or NULL

Return Value

A gio.DBusObjectManagerClient object 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.30