Gio.DBusSubtreeDispatchFunc

function onDBusSubtreeDispatchFunc(connection: Gio.DBusConnection, sender: String, object_path: String, interface_name: String, node: String, out_user_data: void): Gio.DBusInterfaceVTable {
}
  

The type of the @dispatch function in Gio.DBusSubtreeVTable.

Subtrees are flat. node, if non-null, is always exactly one segment of the object path (ie: it never contains a slash).

Since 2.26

connection

A Gio.DBusConnection.

sender

The unique bus name of the remote caller.

object_path

The object path that was registered with Gio.DBusConnection.prototype.register_subtree.

interface_name

The D-Bus interface name that the method call or property access is for.

node

A node that is a child of object_path (relative to object_path) or null for the root of the subtree.

out_user_data

Return location for user data to pass to functions in the returned Gio.DBusInterfaceVTable (never null).

Returns

A Gio.DBusInterfaceVTable or null if you don't want to handle the methods.