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: Bryan Oakley <oakley@bardo.clearlight.com>
Date: Tue Feb 28 2006 - 13:18:51 CET

Aric Bills wrote:
> 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.

That is an extreme solution that should almost never be necessary.
Bindings are easy to manipulate using standard interfaces (bind,
bindtags); you shouldn't ever have to edit core files.
Received on Sun Apr 30 02:17:45 2006