GObject.signal_query
function signal_query(signal_id: Number(guint)): GObject.SignalQuery {
// Gjs wrapper for g_signal_query()
}
Queries the signal system for in-depth information about a specific signal. This function will fill in a user-provided structure to hold signal-specific information. If an invalid signal id is passed in, the signal_id member of the GObject.SignalQuery is 0. All members filled into the GObject.SignalQuery structure should be considered constant and have to be left untouched.
- signal_id
The signal id of the signal to query information for.
- Returns
A user provided structure that is filled in with constant values upon success.