Re: Tk text, unset default bindings
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Tk text, unset default bindings

From: Aric Bills <aric.bills@gmail.com>
Date: Wed Mar 01 2006 - 04:44:35 CET

I agree. I should have stated myself more clearly. I didn't mean that
the OP should replace his distro's text.tcl, but rather that he could
use it as the basis for another file (etext.tcl, for example) which
could then be used in a package or whatever. If you're going to
evaluate each binding to the text widget on an individual basis, with
the intention of reassigning/rewriting/removing several of them, this
doesn't seem like such a bad approach to me, particularly if you start
with a global search-and-replace changing "bind Text" to "bind EText"
or whatever. In the end, you end up with one file that defines the new
behavior of the widget, using standard interfaces just as text.tcl
does.

Sorry for the confusion.
Received on Sun Apr 30 02:18:17 2006