- grid columnconfigure master index ?-option value...?
HaO 2010-10-21: Also columns without windows may have column configuration options. This is reflected by grid size.Within the following example, the frame always covers one quarter of the master:
toplevel .t grid [frame .t.f -bg yellow] -sticky news grid columnconfigure .t {0 1} -weight 2 grid rowconfigure .t {0 1} -weight 2Remark, that the special column specification all do not cover columns without windows. Continuing the upper example, one may add the following rows, to always cover 1/16 of the master:
grid columnconfigure .t all -weight 1 grid rowconfigure .t all -weight 1The column specification all only covers column 0, because only this column has widgets.
See also edit
- grid
- grid rowconfigure for a little example to play with
- grid forget for a script removing all column configurations