home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Practical Programming in Tcl & Tk (4th Edition)
/
TCLBOOK4.BIN
/
mac
/
exsource.old
/
31_2.tcl
< prev
next >
Wrap
Text File
|
2003-04-15
|
233b
|
14 lines
#
# Example 31-2
# Scroll_Set manages optional scrollbars.
#
proc Scroll_Set {scrollbar geoCmd offset size} {
if {$offset != 0.0 || $size != 1.0} {
eval $geoCmd ;# Make sure it is visible
}
$scrollbar set $offset $size
}