GObject.Object.prototype.disconnect

function disconnect(connection_id: Number): void {
    // Gjs wrapper for g_signal_handler_disconnect()
}
  

Disconnects the handler referenced by connection_id from object.

This is functionally equivalent to GObject.signal_handler_disconnect and is only provided for convenience.

connection_id

the handler to disconnect