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)
| 1563 | return self._bind(('bind', self._w), sequence, func, add) |
| 1564 | |
| 1565 | def unbind(self, sequence, funcid=None): |
| 1566 | """Unbind for this widget the event SEQUENCE. |
| 1567 | |
| 1568 | If FUNCID is given, only unbind the function identified with FUNCID |
| 1569 | and also delete the corresponding Tcl command. |
| 1570 | |
| 1571 | Otherwise destroy the current binding for SEQUENCE, leaving SEQUENCE |
| 1572 | unbound. |
| 1573 | """ |
| 1574 | self._unbind(('bind', self._w, sequence), funcid) |
| 1575 | |
| 1576 | def _unbind(self, what, funcid=None): |
| 1577 | if funcid is None: |