in reply to tk menu commands dont work while button pressed
Believe it or not, the answer is really simple
Try
instead of$menu->Post($x, $y);
According to the Mastering Perl/Tk book (Steve Lidie & Nancy Walsh):$menu->post($x, $y);
The post and Post MethodsI tried... it worked.The lower-level mechanism is the Menu post method, which posts a menu at a specific screen coordinate. The Post method works like post, but additioinally activates a specific menu item.
In Section
Seekers of Perl Wisdom