aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools.py7
1 files changed, 7 insertions, 0 deletions
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)
+