MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / bind_all

Method bind_all

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:1476–1481  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

1474 self.deletecommand(funcid)
1475
1476 def bind_all(self, sequence=None, func=None, add=None):
1477 """Bind to all widgets at an event SEQUENCE a call to function FUNC.
1478 An additional boolean parameter ADD specifies whether FUNC will
1479 be called additionally to the other bound function or whether
1480 it will replace the previous function. See bind for the return value."""
1481 return self._root()._bind(('bind', 'all'), sequence, func, add, True)
1482
1483 def unbind_all(self, sequence):
1484 """Unbind for all widgets for event SEQUENCE all functions."""

Callers 2

test_bind_eventsMethod · 0.80
makeTextFrameMethod · 0.80

Calls 2

_rootMethod · 0.95
_bindMethod · 0.45

Tested by 1

test_bind_eventsMethod · 0.64