Package: gobject
Function g-signal-lookup
Lambda Listg-signal-lookup (name itype) ArgumentsReturn ValueA unsigned integer with the identifying number of the signal, or 0 if no signal was found. Details
Given the name of the signal and the type of object it connects to, gets
the signal's identifying integer.
Emitting the signal by number is somewhat faster than using the name each
time. Also tries the ancestors of the given type. Example(g-signal-lookup "notify" "GObject") => 1 (g-signal-lookup "notify" "GtkWidget") => 1 (g-signal-lookup "unknown" "GObject") => 0 | See also |
2021-12-14