From: Joe Van Dyk Date: 2005-05-11T06:37:11+09:00 Subject: Re: TkTable -- setting column widths On 5/10/05, Joe Van Dyk wrote: > Is it possible to set an individual column in a TkTable to be a > different width than the default? > > I'm looking at http://tcl.activestate.com/community/hobbs/tcl/. It > looks like I should be able to do something like > > @table.tag_col('WideCol', 2) > @table.width('WideCol', 20) > > Which would tag the second column with 'WideCol' and then set all > columns that are tagged with 'WideCol' to width 20. But #width() just > wants one argument, although the tcl docs look like it can support > more. Ah, just figured it out. @table.set_width([1, 18], [3, 18], [0, 4]) Will set column 1 to width 18, column 3 to width 18, and column 0 to width 4.