MCPcopy Index your code
hub / github.com/RustPython/RustPython / bind_all

Method bind_all

Lib/tkinter/__init__.py:1571–1576  ·  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

1569 self.deletecommand(funcid)
1570
1571 def bind_all(self, sequence=None, func=None, add=None):
1572 """Bind to all widgets at an event SEQUENCE a call to function FUNC.
1573 An additional boolean parameter ADD specifies whether FUNC will
1574 be called additionally to the other bound function or whether
1575 it will replace the previous function. See bind for the return value."""
1576 return self._root()._bind(('bind', 'all'), sequence, func, add, True)
1577
1578 def unbind_all(self, sequence):
1579 """Unbind for all widgets for event SEQUENCE all functions."""

Callers

nothing calls this directly

Calls 2

_rootMethod · 0.95
_bindMethod · 0.45

Tested by

no test coverage detected