Gio.DBusProxyTypeFunc

function onDBusProxyTypeFunc(manager: Gio.DBusObjectManagerClient, object_path: String, interface_name: String): GObject.Type {
}
  

Function signature for a function used to determine the GLib.Type to use for an interface proxy (if interface_name is not null) or object proxy (if interface_name is null).

This function is called in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> that manager was constructed in.

Since 2.30

manager

A Gio.DBusObjectManagerClient.

object_path

The object path of the remote object.

interface_name

The interface name of the remote object or null if a Gio.DBusObjectProxy GLib.Type is requested.

Returns

A GLib.Type to use for the remote object. The returned type must be a Gio.DBusProxy<!-- -->- or Gio.DBusObjectProxy<!-- -->-derived type.