Tkinter.Canvas.tag_bind

Canvas.tag_bind(tagOrId, sequence=None, func=None, add=None)[source]

Bind to all items with TAGORID at 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.