RodTracker.backend.miscellaneous
- reconnect(signal: pyqtSignal, newhandler: Callable | None = None, oldhandler: Callable | None = None) None[source]
(Re-)connect handler(s) to a signal.
Connect a new handler function to a signal while either removing all other, previous handlers, or just one specific one.
- Parameters:
signal (QtCore.pyqtSignal)
newhandler (Callable, optional) – By default
None.oldhandler (Callable, optional) – Handler function currently connected to
signal. All connected functions will be removed, if this parameters isNone. By defaultNone.