(self, triplet, func)
| 96 | self.bindedfuncs.append(func) |
| 97 | |
| 98 | def unbind(self, triplet, func): |
| 99 | self.bindedfuncs.remove(func) |
| 100 | if not self.bindedfuncs: |
| 101 | self.widget.unbind(self.widgetinst, self.sequence, self.handlerid) |
| 102 | self.handlerid = None |
| 103 | |
| 104 | def __del__(self): |
| 105 | if self.handlerid: |