Gio.DBusInterfaceInfo.prototype.lookup_signal

function lookup_signal(name: String): Gio.DBusSignalInfo {
    // Gjs wrapper for g_dbus_interface_info_lookup_signal()
}
  

Looks up information about a signal.

The cost of this function is O(n) in number of signals unless Gio.DBusInterfaceInfo.prototype.cache_build has been used on info.

Since 2.26

name

A D-Bus signal name (typically in CamelCase)

Returns

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