$w_t->insert('end', ["row $hh;", "$hh bla bla"]);
will insert at index 'end' a row into tablelist, values are "row $hh;" and "$hh bla bla" into each of 2 cells appropriately
this comes into play after seeing sample code at http://wiki.tcl.tk/5527
.t insert end [list "first row" "another value"]
.t insert end [list "another row" "bla bla"]
Also, Tkx is another way of doing tcl/tk from perl, and for both of these there is a mailing list tcltk@perl.org, which will help you set up and use these approaches
Regards,
vkon | [reply] [d/l] [select] |
insert at index 'end' a row into tablelist, values are "row $hh;" and "$hh bla bla" into each of 2 cells appropriately
Oh, ok. If it was done with a for loop and an array for each column, with $w_t->insert('end', ["$col_a[$i];", "$col_b[$i]"]);, then it would have been clear from the start.
Anyway, thanks for the help so far. I'll look into tablelist and Tcl/Tk when I'm a bit less busy in a few days' time and come back with questions if you don't mind. The author of tablelist appears to be a Hungarian like myself, so maybe I'll pester him if I can find contact info.
| [reply] [d/l] |
good...
but instead of asking perl questions from tcl/tk person it would be even better to ask using already mentioned mailing list.
| [reply] |