GObject.signal_name

function signal_name(signal_id: Number(guint)): String {
    // Gjs wrapper for g_signal_name()
}
  

Given the signal's identifier, finds its name.

Two different signals may have the same name, if they have differing types.

signal_id

the signal's identifying number.

Returns

the signal name, or null if the signal number was invalid.