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: Tue Feb 28 2006 - 10:44:39 CET

All those bindings are defined in a file called text.tcl, which should
be under your Tk directory. They are implemented as bindings to the
Text widget class. You could create your own version of text.tcl with
the bindings you wanted, and source it in your programs. Or you could
create a similar file which binds to a new class (EText or something),
and when you create your text widgets, use [bindtags] to change the
class bindings from Text to EText.

Hope that helps.

Aric
Received on Sun Apr 30 02:17:31 2006