Gjsify LogoGjsify Logo

Interface DBusSubtreeIntrospectFunc

Hierarchy

  • DBusSubtreeIntrospectFunc

Callable

  • The type of the introspect function in #GDBusSubtreeVTable.

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

    This function should return %NULL to indicate that there is no object at this node.

    If this function returns non-%NULL, the return value is expected to be a %NULL-terminated array of pointers to #GDBusInterfaceInfo structures describing the interfaces implemented by node. This array will have g_dbus_interface_info_unref() called on each item before being freed with g_free().

    The difference between returning %NULL and an array containing zero items is that the standard DBus interfaces will returned to the remote introspector in the empty array case, but not in the %NULL case.

    Parameters

    • connection: DBusConnection

      A #GDBusConnection.

    • sender: string

      The unique bus name of the remote caller.

    • object_path: string

      The object path that was registered with g_dbus_connection_register_subtree().

    • node: string

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

    Returns DBusInterfaceInfo[]

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method