Gio.DBusNodeInfo.prototype.lookup_interface

function lookup_interface(name: String): Gio.DBusInterfaceInfo {
    // Gjs wrapper for g_dbus_node_info_lookup_interface()
}
  

Looks up information about an interface.

The cost of this function is O(n) in number of interfaces.

Since 2.26

name

A D-Bus interface name.

Returns

A Gio.DBusInterfaceInfo or null if not found. Do not free, it is owned by info.