From: Chad S. <cs...@bb...> - 2001-08-28 17:56:41
|
Yeah, that makes sense. I didn't think about that ambiguity. But that being the case, I would expect to get the same error message from the following: csmith@wst311(485)% wish8.4 % label .l .l % grid .l -col 0 % As a matter of fact, interestingly enough, the following works too: % grid .l -co 0 % grid .l -c 0 I vote for this being a grid bug. -chad > > > bgerror failed to handle background error. > > > Original error: ambiguous option "-col": must be -column, > > -columnspan, -in, -ipadx, -ipady, -padx, -pady, -row, -rowspan, or -sticky > > <snip> > > > > Hmmm... I did a "find . -type f | xargs grep '\-col\>'" and > > the only thing that showed up was the radiobox iwidget. There > > are two lines that do 'grid configure ... -col X'. The same > > lines are present in the iwidgets3.0.0 radiobox as well. But > > "-col" is a valid option to the grid configure command, so I > > don't know where your error is coming from. > > Right there. Notice that Tcl is giving the standard useful > error message. -col is ambiguous between -column and -columnspan. > That never should have worked... |