Unbind initial bind on basic widget (text)

Jeff Epler jepler at unpythonic.net
Sun Jun 13 03:29:43 CEST 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.pgp>


More information about the Python-list mailing list