MCPcopy Index your code
hub / github.com/python/cpython / tag_bind

Method tag_bind

Lib/tkinter/ttk.py:1452–1456  ·  view source on GitHub ↗

Bind a callback for the given event sequence to the tag tagname. When an event is delivered to an item, the callbacks for each of the item's tags option are called.

(self, tagname, sequence=None, callback=None)

Source from the content-addressed store, hash-verified

1450
1451
1452 def tag_bind(self, tagname, sequence=None, callback=None):
1453 """Bind a callback for the given event sequence to the tag tagname.
1454 When an event is delivered to an item, the callbacks for each
1455 of the item's tags option are called."""
1456 self._bind((self._w, "tag", "bind", tagname), sequence, callback, add=0)
1457
1458
1459 def tag_configure(self, tagname, option=None, **kw):

Callers 11

_onclickMethod · 0.45
_onreleaseMethod · 0.45
_ondragMethod · 0.45
_test_tag_bindMethod · 0.45
_test_tag_unbindMethod · 0.45
_test_tag_bind_rebindMethod · 0.45
test_tag_bindMethod · 0.45
create_page_highlightMethod · 0.45
drawMethod · 0.45
drawiconMethod · 0.45
drawtextMethod · 0.45

Calls 1

_bindMethod · 0.45

Tested by 4

_test_tag_bindMethod · 0.36
_test_tag_unbindMethod · 0.36
_test_tag_bind_rebindMethod · 0.36
test_tag_bindMethod · 0.36