Message302258
I have found a workaround to unbind a single binding (inspired by https://mail.python.org/pipermail/tkinter-discuss/2012-May/003151.html):
def unbind(widget, seq, funcid):
bindings = {x.split()[1][3:]: x for x in widget.bind(seq).splitlines() if x.strip()}
try:
del bindings[funcid]
except KeyError:
raise tk.TclError('Binding "%s" not defined.' % funcid)
widget.bind(seq, '\n'.join(list(bindings.values()))) |
|
Date |
User |
Action |
Args |
2017-09-15 14:37:29 | j-4321-i | set | recipients:
+ j-4321-i |
2017-09-15 14:37:29 | j-4321-i | set | messageid: <1505486249.46.0.284144838221.issue31485@psf.upfronthosting.co.za> |
2017-09-15 14:37:29 | j-4321-i | link | issue31485 messages |
2017-09-15 14:37:29 | j-4321-i | create | |
|