@@ -1538,7 +1538,7 @@ def bind_all(self, sequence=None, func=None, add=None):
1538
1538
An additional boolean parameter ADD specifies whether FUNC will
1539
1539
be called additionally to the other bound function or whether
1540
1540
it will replace the previous function. See bind for the return value."""
1541
- return self ._bind (('bind' , 'all' ), sequence , func , add , 0 )
1541
+ return self ._root (). _bind (('bind' , 'all' ), sequence , func , add , True )
1542
1542
1543
1543
def unbind_all (self , sequence ):
1544
1544
"""Unbind for all widgets for event SEQUENCE all functions."""
@@ -1552,7 +1552,7 @@ def bind_class(self, className, sequence=None, func=None, add=None):
1552
1552
whether it will replace the previous function. See bind for
1553
1553
the return value."""
1554
1554
1555
- return self ._bind (('bind' , className ), sequence , func , add , 0 )
1555
+ return self ._root (). _bind (('bind' , className ), sequence , func , add , True )
1556
1556
1557
1557
def unbind_class (self , className , sequence ):
1558
1558
"""Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
0 commit comments