diff options
author | treectrl <treectrl> | 2002-12-31 06:42:11 (GMT) |
---|---|---|
committer | treectrl <treectrl> | 2002-12-31 06:42:11 (GMT) |
commit | e2878d1686830d49549467a355097779fe7c1845 (patch) | |
tree | 2f4f9dbc7940da645d5c179bd67b3f9ca44aa18d /library/filelist-bindings.tcl | |
parent | d3b9df64dba75e7ac0ddd3369646a31b2e17e2e6 (diff) | |
download | tktreectrl-e2878d1686830d49549467a355097779fe7c1845.zip tktreectrl-e2878d1686830d49549467a355097779fe7c1845.tar.gz tktreectrl-e2878d1686830d49549467a355097779fe7c1845.tar.bz2 |
Use changed ''notify generate' syntax.
Diffstat (limited to 'library/filelist-bindings.tcl')
-rw-r--r-- | library/filelist-bindings.tcl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/library/filelist-bindings.tcl b/library/filelist-bindings.tcl index bf8fc28..382f92c 100644 --- a/library/filelist-bindings.tcl +++ b/library/filelist-bindings.tcl @@ -198,7 +198,7 @@ proc TreeCtrl::FileListMotion {T x y} { set Priv(drag,motion) 1 # Don't generate the event if it wasn't installed if {[lsearch -exact [$T notify eventnames] Drag] != -1} { - $T notify generate <Drag-begin> -T $T + $T notify generate <Drag-begin> [list T $T] } } @@ -284,12 +284,12 @@ proc TreeCtrl::FileListRelease1 {T x y} { if {$Priv(drop) ne ""} { $T selection modify {} $Priv(drop) if {[lsearch -exact [$T notify eventnames] Drag] != -1} { - $T notify generate <Drag-receive> -T $T -I $Priv(drop) \ - -l $Priv(selection) + $T notify generate <Drag-receive> [list T $T \ + I $Priv(drop) l $Priv(selection)] } } if {[lsearch -exact [$T notify eventnames] Drag] != -1} { - $T notify generate <Drag-end> -T $T + $T notify generate <Drag-end> [list T $T] } } elseif {$Priv(selectMode) eq "toggle"} { @@ -577,9 +577,9 @@ proc ::TreeCtrl::EntryClose {T accept} { update if {$accept && ([lsearch -exact [$T notify eventnames] Edit] != -1)} { - $T notify generate <Edit-accept> -T $T -I $Priv(entry,$T,item) \ - -C $Priv(entry,$T,column) -E $Priv(entry,$T,element) \ - -t [$T.entry get] + $T notify generate <Edit-accept> [list T $T I $Priv(entry,$T,item) \ + C $Priv(entry,$T,column) E $Priv(entry,$T,element) \ + t [$T.entry get]] } $T notify bind $T.entry <Scroll> {} @@ -772,9 +772,9 @@ proc ::TreeCtrl::TextClose {T accept} { update if {$accept && ([lsearch -exact [$T notify eventnames] Edit] != -1)} { - $T notify generate <Edit-accept> -T $T -I $Priv(text,$T,item) \ - -C $Priv(text,$T,column) -E $Priv(text,$T,element) \ - -t [$T.text get 1.0 end-1c] + $T notify generate <Edit-accept> [list T $T I $Priv(text,$T,item) \ + C $Priv(text,$T,column) E $Priv(text,$T,element) \ + t [$T.text get 1.0 end-1c]] } $T notify bind $T.text <Scroll> {} |