Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Tkx TkTable pointer coordinates

by v4169sgr (Acolyte)
on Nov 18, 2013 at 14:22 UTC ( #1063098=perlquestion: print w/ replies, xml ) Need Help??
v4169sgr has asked for the wisdom of the Perl Monks concerning the following question:

I use Perl 5.10 ActivePerl 5.14 on win7, with Tkx bindings to create a GUI.

I am looking for an equivalent of nearest() from listbox in the tktable package.

I would like to find the relative x,y coordinates of the user's mouse pointer in the tktable index, because I'd like to make sure the user can right-click select a row and invoke a menu in the same action.

Is it possible that there is an example of usage somewhere?

Thank you!

Comment on Tkx TkTable pointer coordinates
Re: Tkx TkTable pointer coordinates
by Anonymous Monk on Nov 19, 2013 at 02:27 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1063098]
Front-paged by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-10-25 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls