Remove the hook on the entry
(self)
| 193 | # print(args[0]()) |
| 194 | |
| 195 | def remove_hook(self): |
| 196 | """Remove the hook on the entry""" |
| 197 | if self.hook is None: |
| 198 | return False |
| 199 | self.hook.disable() |
| 200 | self.hook = None |
| 201 | return True |
| 202 | |
| 203 | # def __del__(self): |
| 204 | # print(self.hook) |