Posted to tcl by kbk at Mon Mar 02 14:00:31 GMT 2020view raw

  1. grid [label .a -text A -width 10 -height 3 -relief raised] \
  2. -row 0 -column 0 -columnspan 2 -sticky ew
  3. grid [label .b -text B -width 5 -height 6 -relief raised] \
  4. -row 0 -column 2 -rowspan 2 -sticky ns
  5. grid [label .c -text C -width 5 -height 6 -relief raised] \
  6. -row 1 -column 0 -rowspan 2 -sticky ns
  7. grid [label .d -text D -width 10 -height 3 -relief raised] \
  8. -row 2 -column 1 -columnspan 2 -sticky ew
  9. grid [label .e -text E -relief raised -width 3 -height 3] \
  10. -row 1 -column 1
  11. grid rowconfigure . 1 -weight 1
  12. grid columnconfigure . 1 -weight 1
  13.