Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Need help finding which column/row the mouse cursor is over in Tk...

by kcott (Archbishop)
on Feb 07, 2012 at 18:44 UTC ( [id://952326]=note: print w/replies, xml ) Need Help??


in reply to Need help finding which column/row the mouse cursor is over in Tk...

As you're open to suggestions regarding an alternative to Tk::Table, how about using Tk::grid. You can use its gridLocation() method to return the row and column - no need to write a custom findCell() subroutine.

In the widget demo, the code for N-Puzzle (under User Contributed Demonstrations) may be of some use.

-- Ken

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-23 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found