diff options
Diffstat (limited to 'tools.py')
| -rw-r--r-- | tools.py | 7 |
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) + |
