home *** CD-ROM | disk | FTP | other *** search
/ Practical Programming in Tcl & Tk (4th Edition) / TCLBOOK4.BIN / mac / exsource.old / 30_8.tcl < prev    next >
Text File  |  2003-04-15  |  187b  |  12 lines

  1. #
  2. # Example 30-8
  3. # A scale widget.
  4. #
  5.  
  6. scale .scale -from -10 -to 20 -length 200 -variable x \
  7.     -orient horizontal -label "The value of X" \
  8.     -tickinterval 5 -showvalue true
  9. pack .scale
  10.  
  11.  
  12.