Unbind initial bind on basic widget (text)

Jeff Epler jepler at unpythonic.net
Sat Jun 12 21:29:43 EDT 2004


You should probably read the Tk manpage on the bind and bindtags
commands.

If you want to get rid of all the normal bindings for a Text widget, you
can just do something like
    tags = myText.bindtags()
    tags.remove("Text")
    myText.bindtags(tags)

If you want to stop only certain bindings, use the "break" technique
mentioned in another response to your post.

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20040612/c27477e5/attachment.sig>


More information about the Python-list mailing list