@@ -1459,7 +1459,7 @@ def bind_all(self, sequence=None, func=None, add=None):
1459
1459
An additional boolean parameter ADD specifies whether FUNC will
1460
1460
be called additionally to the other bound function or whether
1461
1461
it will replace the previous function. See bind for the return value."""
1462
- return self ._bind (('bind' , 'all' ), sequence , func , add , 0 )
1462
+ return self ._root (). _bind (('bind' , 'all' ), sequence , func , add , True )
1463
1463
1464
1464
def unbind_all (self , sequence ):
1465
1465
"""Unbind for all widgets for event SEQUENCE all functions."""
@@ -1473,7 +1473,7 @@ def bind_class(self, className, sequence=None, func=None, add=None):
1473
1473
whether it will replace the previous function. See bind for
1474
1474
the return value."""
1475
1475
1476
- return self ._bind (('bind' , className ), sequence , func , add , 0 )
1476
+ return self ._root (). _bind (('bind' , className ), sequence , func , add , True )
1477
1477
1478
1478
def unbind_class (self , className , sequence ):
1479
1479
"""Unbind for all widgets with bindtag CLASSNAME for event SEQUENCE
0 commit comments