added tools
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 21 Mar 2005 22:39:09 +0000 (22:39 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 21 Mar 2005 22:39:09 +0000 (22:39 +0000)
tools.py [new file with mode: 0644]

diff --git a/tools.py b/tools.py
new file mode 100644 (file)
index 0000000..32f000e
--- /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)
+