From: Felix Domke Date: Mon, 21 Mar 2005 22:39:09 +0000 (+0000) Subject: added tools X-Git-Tag: 2.6.0~5919 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/c28505d0ce113f0b3596ea289e1130ed310ab8b8 added tools --- diff --git a/tools.py b/tools.py new file mode 100644 index 00000000..32f000e9 --- /dev/null +++ b/tools.py @@ -0,0 +1,7 @@ + +def CONNECT(slot, fnc): + slot.get().append(fnc) + +def DISCONNECT(slot, fnc): + slot.get().remove(fnc) +