diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-27 11:58:20 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-03-27 11:58:20 (GMT) |
commit | 729820db14607dca8ab6a8185bef5928b8bbed6f (patch) | |
tree | 2398fdd617e2e98ab71885b07c48a1b3418f1cb0 /library/listbox.tcl | |
parent | 848a0b0986e95d797bcbb1f50240f345a9c2d9a9 (diff) | |
parent | be9d4efe7ba6f645e1cd3e8c93dfa13f634eb972 (diff) | |
download | tk-729820db14607dca8ab6a8185bef5928b8bbed6f.zip tk-729820db14607dca8ab6a8185bef5928b8bbed6f.tar.gz tk-729820db14607dca8ab6a8185bef5928b8bbed6f.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.tcl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/listbox.tcl b/library/listbox.tcl index 01fb03d..3270b5d 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] } |