MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / unbind

Method unbind

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:1452–1461  ·  view source on GitHub ↗

Unbind for this widget the event SEQUENCE. If FUNCID is given, only unbind the function identified with FUNCID and also delete the corresponding Tcl command. Otherwise destroy the current binding for SEQUENCE, leaving SEQUENCE unbound.

(self, sequence, funcid=None)

Source from the content-addressed store, hash-verified

1450 return self._bind(('bind', self._w), sequence, func, add)
1451
1452 def unbind(self, sequence, funcid=None):
1453 """Unbind for this widget the event SEQUENCE.
1454
1455 If FUNCID is given, only unbind the function identified with FUNCID
1456 and also delete the corresponding Tcl command.
1457
1458 Otherwise destroy the current binding for SEQUENCE, leaving SEQUENCE
1459 unbound.
1460 """
1461 self._unbind(('bind', self._w, sequence), funcid)
1462
1463 def _unbind(self, what, funcid=None):
1464 if funcid is None:

Callers 3

finishMethod · 0.45
test_unbindMethod · 0.45
test_unbind2Method · 0.45

Calls 1

_unbindMethod · 0.95

Tested by 2

test_unbindMethod · 0.36
test_unbind2Method · 0.36