home *** CD-ROM | disk | FTP | other *** search
/ Practical Programming in Tcl & Tk (4th Edition) / TCLBOOK4.BIN / pc / exsource / 40_2.tcl < prev    next >
Text File  |  2003-04-16  |  237b  |  15 lines

  1. #
  2. # Example 40-2
  3. # 3D relief sampler.
  4. #
  5.  
  6. frame .f -borderwidth 10
  7. pack .f
  8. foreach relief {raised sunken flat ridge groove solid} {
  9.     label .f.$relief -text $relief -relief $relief \
  10.         -bd 2 -padx 3
  11.     pack .f.$relief -side left -padx 4
  12. }
  13.  
  14.  
  15.