home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Programming in Tcl & Tk (4th Edition)
/
TCLBOOK4.BIN
/
pc
/
exsource.old
/
44_4.tcl
< prev
next >
Wrap
Text File
|
2003-04-15
|
252b
|
16 lines
#
# Example 44-4
# Controlling a pair of listboxes with one scrollbar.
#
scrollbar $frame.s -orient vertical \
-command [list BindYview [list $frame.key $frame.cmd]]
proc BindYview { lists args } {
foreach l $lists {
eval {$l yview} $args
}
}