Posted to tcl by rmax at Tue Nov 18 12:59:30 GMT 2014view raw

  1. #!/usr/bin/tclsh
  2. package require Tk
  3.  
  4. text .t1
  5. text .t2
  6. text .t3
  7.  
  8. grid .t1 -rowspan 2 -sticky nsew
  9. grid .t2 -row 0 -column 1 -sticky nsew
  10. grid .t3 -row 1 -column 1 -sticky nsew
  11.  
  12. grid rowconfigure . 0 -weight 1
  13. grid rowconfigure . 1 -weight 1
  14. grid columnconfigure . 0 -weight 1
  15. grid columnconfigure . 1 -weight 1
  16.