in reply to
Currently selected TK widget.
Have you tried the focusCurrent command, for example:
my $who = $widget->focusCurrent;
[download]
Then cycling through each of your buttons and checking them vs $who to see which one had focus when pressed?
Comment on
Re: Currently selected TK widget.
Download
Code
In Section
Seekers of Perl Wisdom