diff options
author | treectrl <treectrl> | 2005-07-23 00:43:52 (GMT) |
---|---|---|
committer | treectrl <treectrl> | 2005-07-23 00:43:52 (GMT) |
commit | 3a1091c5190d70224a146d64cb61713160c41427 (patch) | |
tree | c635566c196b24d1e80acf13080c1b8f5b38f0b8 /library/treectrl.tcl | |
parent | 0a89e306e90b924f81bc7941c2b9b913186dbed7 (diff) | |
download | tktreectrl-3a1091c5190d70224a146d64cb61713160c41427.zip tktreectrl-3a1091c5190d70224a146d64cb61713160c41427.tar.gz tktreectrl-3a1091c5190d70224a146d64cb61713160c41427.tar.bz2 |
Multi-clicking in a column header is same as single-click instead of a no-op.
Update cursor and header state after double-clicking to resize a column.
Diffstat (limited to 'library/treectrl.tcl')
-rw-r--r-- | library/treectrl.tcl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/treectrl.tcl b/library/treectrl.tcl index ea74d1b..445b2f4 100644 --- a/library/treectrl.tcl +++ b/library/treectrl.tcl @@ -369,6 +369,10 @@ proc ::TreeCtrl::DoubleButton1 {w x y} { } if {[$w column compare $column == "tail"]} return $w column configure $column -width "" + CursorCheck $w $x $y + MotionInHeader $w $x $y + } else { + ButtonPress1 $w $x $y } } return |