Bind to widgets with bindtag CLASSNAME at event SEQUENCE a call of 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
(self, className, sequence=None, func=None, add=None)
| 1598 | self._root()._unbind(('bind', 'all', sequence)) |
| 1599 | |
| 1600 | def bind_class(self, className, sequence=None, func=None, add=None): |
| 1601 | """Bind to widgets with bindtag CLASSNAME at event |
| 1602 | SEQUENCE a call of function FUNC. An additional |
| 1603 | boolean parameter ADD specifies whether FUNC will be |
| 1604 | called additionally to the other bound function or |
| 1605 | whether it will replace the previous function. See bind for |
| 1606 | the return value.""" |
| 1607 | |
| 1608 | return self._root()._bind(('bind', className), sequence, func, add, True) |
| 1609 | |
| 1610 | def unbind_class(self, className, sequence): |
| 1611 | """Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE |