summaryrefslogtreecommitdiffstats
path: root/library/listbox.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-20 11:01:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-03-20 11:01:17 (GMT)
commit9c402860fb020d8e4edbbb2a738c1a0312fb3089 (patch)
tree6733502bf5fed4582a907e7e0cc3b51c630cfaea /library/listbox.tcl
parent1e43f52d3f5a853bf95be27798ace31ea8ee2884 (diff)
downloadtk-9c402860fb020d8e4edbbb2a738c1a0312fb3089.zip
tk-9c402860fb020d8e4edbbb2a738c1a0312fb3089.tar.gz
tk-9c402860fb020d8e4edbbb2a738c1a0312fb3089.tar.bz2
Add <<Invoke>> bindings to button, listbox and menu, for consistancy with ttk.
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]
}