Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Tk Tablematrix extended selection data

by lamprecht (Friar)
on Jun 05, 2011 at 18:18 UTC ( [id://908197]=note: print w/replies, xml ) Need Help??


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.


Cheers, Chris

Replies are listed 'Best First'.
Re^2: Tk Tablematrix extended selection data
by Anonymous Monk on Jun 05, 2011 at 20:41 UTC
    Great just what I wanted!
    Many thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://908197]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2026-04-12 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.