Lhamo_rin has asked for the wisdom of the Perl Monks concerning the following question:

When using grid for geometry management in TK is it possible to set the -column and -width with a variable rather than an integer? For example, can I do something like this...
-column => ($i), rather than -column => 5,
Lhamo_rin

Replies are listed 'Best First'.
Re: TK grid
by zby (Vicar) on Jul 01, 2003 at 11:02 UTC
    Yes - but without the parenthesis:
    -column => $i,