Bind to all widgets at an event SEQUENCE a call to function FUNC. An additional boolean parameter ADD specifies whether FUNC will be called additionally to the other bound function or whether it will replace the previous function. See bind for the return value.
(self, sequence=None, func=None, add=None)
| 1587 | self.deletecommand(funcid) |
| 1588 | |
| 1589 | def bind_all(self, sequence=None, func=None, add=None): |
| 1590 | """Bind to all widgets at an event SEQUENCE a call to function FUNC. |
| 1591 | An additional boolean parameter ADD specifies whether FUNC will |
| 1592 | be called additionally to the other bound function or whether |
| 1593 | it will replace the previous function. See bind for the return value.""" |
| 1594 | return self._root()._bind(('bind', 'all'), sequence, func, add, True) |
| 1595 | |
| 1596 | def unbind_all(self, sequence): |
| 1597 | """Unbind for all widgets for event SEQUENCE all functions.""" |