diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-23 07:06:07 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-23 07:06:07 (GMT) |
commit | 47d925b939d119ba537fb921c81a4b7eccfd0ad9 (patch) | |
tree | 98cd5df8f230d58c716424c23de82310a2b9dd0a /library/tk.tcl | |
parent | a2afa24b51c49505318951eddc2541eeb3fa7322 (diff) | |
download | tk-47d925b939d119ba537fb921c81a4b7eccfd0ad9.zip tk-47d925b939d119ba537fb921c81a4b7eccfd0ad9.tar.gz tk-47d925b939d119ba537fb921c81a4b7eccfd0ad9.tar.bz2 |
new virtual event <<ToggleSelection>>
Diffstat (limited to 'library/tk.tcl')
-rw-r--r-- | library/tk.tcl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/tk.tcl b/library/tk.tcl index 0d8853f..cac9075 100644 --- a/library/tk.tcl +++ b/library/tk.tcl @@ -391,6 +391,7 @@ switch -exact -- [tk windowingsystem] { event add <<NextPara>> <Control-Down> event add <<SelectPrevPara>> <Control-Shift-Up> event add <<SelectPrevPara>> <Control-Shift-Down> + event add <<ToggleSelection>> <Control-ButtonPress-1> # Some OS's define a goofy (as in, not <Shift-Tab>) keysym that is # returned when the user presses <Shift-Tab>. In order for tab @@ -439,6 +440,7 @@ switch -exact -- [tk windowingsystem] { event add <<NextPara>> <Control-Down> event add <<SelectPrevPara>> <Control-Shift-Up> event add <<SelectPrevPara>> <Control-Shift-Down> + event add <<ToggleSelection>> <Control-ButtonPress-1> } "aqua" { event add <<Cut>> <Command-Key-x> <Key-F2> <Control-Lock-Key-X> @@ -476,6 +478,7 @@ switch -exact -- [tk windowingsystem] { event add <<NextPara>> <Option-Down> event add <<SelectPrevPara>> <Shift-Option-Up> event add <<SelectPrevPara>> <Shift-Option-Down> + event add <<ToggleSelection>> <Command-ButtonPress-1> } } |