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)
| 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): |