summaryrefslogtreecommitdiffstats
path: root/library/listbox.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-27 11:35:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-27 11:35:58 (GMT)
commit6b4003931a14f890e04b620d349878f3f09a3b4d (patch)
treed4116ef6a4c8db9adbdca6d52cd507517b4986d7 /library/listbox.tcl
parent45bc4b8ed5e03bb50fa2d084bc505d27fadd5db7 (diff)
parent11459a5b8cef448ab00e3d558f47f6c408019784 (diff)
downloadtk-6b4003931a14f890e04b620d349878f3f09a3b4d.zip
tk-6b4003931a14f890e04b620d349878f3f09a3b4d.tar.gz
tk-6b4003931a14f890e04b620d349878f3f09a3b4d.tar.bz2
[Bug 3608074]: Add <<Invoke>> bindings to Button's, Listbox and Menu.
Document <<Invoke>>, <<ThemeChanged>>, <<EnteredChild>> (ttk_pandedwindow only) and <<Increment/Decrement>> (ttk_spinbox only)
Diffstat (limited to 'library/listbox.tcl')
-rw-r--r--library/listbox.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/listbox.tcl b/library/listbox.tcl
index f3434a5..2d9af20 100644
--- a/library/listbox.tcl
+++ b/library/listbox.tcl
@@ -142,6 +142,9 @@ bind Listbox <<Copy>> {
bind Listbox <space> {
tk::ListboxBeginSelect %W [%W index active]
}
+bind Listbox <<Invoke>> {
+ tk::ListboxBeginSelect %W [%W index active]
+}
bind Listbox <Select> {
tk::ListboxBeginSelect %W [%W index active]
}