Name

tag_bind

Synopsis

                        c.tag_bind(tag,event_name,callable[,'+'])

c .tag_bind( tag,event_name,callable ) sets callable as the callback object for event_name on the items currently in tag’s set. Calling c .tag_bind( tag,event_name,callable ,'+') adds callable to the previous bindings. Events, callbacks, and bindings are covered in Section 16.9 later in this chapter.

Get Python in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.