GObject.signal_parse_name

function signal_parse_name(detailed_signal: String, itype: GObject.Type, force_detail_quark: Boolean): [ok: Boolean, signal_id_p: Number(guint), detail_p: GLib.Quark] {
    // Gjs wrapper for g_signal_parse_name()
}
  

Internal function to parse a signal name into its @signal_id and @detail quark.

detailed_signal

a string of the form "signal-name::detail".

itype

The interface/instance type that introduced "signal-name".

force_detail_quark

true forces creation of a GLib.Quark for the detail.

ok

Whether the signal name could successfully be parsed and signal_id_p and detail_p contain valid return values.

signal_id_p

Location to store the signal id.

detail_p

Location to store the detail quark.