diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-10 10:20:50 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-08-10 10:20:50 (GMT) |
commit | b7a61d63d4aabbd30586eea219f7402f3da61ac6 (patch) | |
tree | 6270ad7be676303bb66e0b80674b1aba64a0b72b /library/listbox.tcl | |
parent | 37ceb5fe2eba6473a2fbdb5407e449ef96345a43 (diff) | |
download | tk-b7a61d63d4aabbd30586eea219f7402f3da61ac6.zip tk-b7a61d63d4aabbd30586eea219f7402f3da61ac6.tar.gz tk-b7a61d63d4aabbd30586eea219f7402f3da61ac6.tar.bz2 |
define two more virtual bindings, and correct various Mac
bindings according to Apple OSX documentation.
Doc updated as well
Diffstat (limited to 'library/listbox.tcl')
-rw-r--r-- | library/listbox.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/listbox.tcl b/library/listbox.tcl index 2715385..31d0fbb 100644 --- a/library/listbox.tcl +++ b/library/listbox.tcl @@ -154,10 +154,10 @@ bind Listbox <Shift-Select> { bind Listbox <Escape> { tk::ListboxCancel %W } -bind Listbox <Control-slash> { +bind Listbox <<SelectAll>> { tk::ListboxSelectAll %W } -bind Listbox <Control-backslash> { +bind Listbox <<SelectNone>> { if {[%W cget -selectmode] ne "browse"} { %W selection clear 0 end event generate %W <<ListboxSelect>> |