in reply to Re^4: Tkx g_bind to menu on listbox only for selected rowin thread Tkx g_bind to menu on listbox only for selected row
Thanks. I am sure you are right, but I need %X and %Y to get the position of the context menu right. How do I go about getting both sets of coordinates bound to the same Motion event?
my ( $X, $Y, $y, $lb ) = @_;
warn " $X,$Y,$y,$lb "
Tkx::Ev(qw' %X %Y %y '),
Thanks! That worked for me!
Final question: The menu persists after the user has moved the mouse away from the selected row. There does not seem to be anything like "g_tk___popdown()". How can I pop down the menu?
An electronic device
Being the designated driver
Spending time with a celebrity
I never won anything
I never play the lottery
I haven't checked my spam folder recently
Results (356 votes). Check out past polls.