MCPcopy Index your code
hub / github.com/RustPython/RustPython / unbind

Method unbind

Lib/tkinter/__init__.py:1547–1556  ·  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

1545 return self._bind(('bind', self._w), sequence, func, add)
1546
1547 def unbind(self, sequence, funcid=None):
1548 """Unbind for this widget the event SEQUENCE.
1549
1550 If FUNCID is given, only unbind the function identified with FUNCID
1551 and also delete the corresponding Tcl command.
1552
1553 Otherwise destroy the current binding for SEQUENCE, leaving SEQUENCE
1554 unbound.
1555 """
1556 self._unbind(('bind', self._w, sequence), funcid)
1557
1558 def _unbind(self, what, funcid=None):
1559 if funcid is None:

Callers 1

finishMethod · 0.80

Calls 1

_unbindMethod · 0.95

Tested by

no test coverage detected