in reply to Tk Tablematrix extended selection data
~$ perl -MTk -MData::Dumper -e' $m = tkinit->TableMatrix(-selectmode=>"extended",-variable=>{})->pack; $m->bind("<3>",sub{print Dumper [$m->get(($m->curselection)[0,-1])]}); MainLoop'
use curselection() for a list of index strings, use get(first,last) to get the values.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk Tablematrix extended selection data
by Anonymous Monk on Jun 05, 2011 at 20:41 UTC |