diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-08 06:23:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-08 06:23:40 (GMT) |
commit | dc2c36cea500db6933ade16c3252cef0a66ab26d (patch) | |
tree | 0b7650bc7c53e1dca25ec6facfe279368c9046a6 /library/ttk/panedwindow.tcl | |
parent | 6f2824501d0987043c6456d5ab00adbb4300b682 (diff) | |
download | tk-dc2c36cea500db6933ade16c3252cef0a66ab26d.zip tk-dc2c36cea500db6933ade16c3252cef0a66ab26d.tar.gz tk-dc2c36cea500db6933ade16c3252cef0a66ab26d.tar.bz2 |
Simplify throughout: ButtonPress -> Button, KeyPress -> Key (or remove it because it is the default anyway)
Use 'in' operator in stead of 'lsearch -exact' when possible
Diffstat (limited to 'library/ttk/panedwindow.tcl')
-rw-r--r-- | library/ttk/panedwindow.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/ttk/panedwindow.tcl b/library/ttk/panedwindow.tcl index ba47003..0fd9bd7 100644 --- a/library/ttk/panedwindow.tcl +++ b/library/ttk/panedwindow.tcl @@ -15,7 +15,7 @@ namespace eval ttk::panedwindow { ## Bindings: # -bind TPanedwindow <ButtonPress-1> { ttk::panedwindow::Press %W %x %y } +bind TPanedwindow <Button-1> { ttk::panedwindow::Press %W %x %y } bind TPanedwindow <B1-Motion> { ttk::panedwindow::Drag %W %x %y } bind TPanedwindow <ButtonRelease-1> { ttk::panedwindow::Release %W %x %y } |