in reply to
Re: Button Binding
in thread
Button Binding
I get the part of binding to a subroutine. My problem is my buttons issue commands and I want to bind a key to invoke the button action. I have tried
$widget->bind('<Enter>', $submit->invoke);
But it causes issues messing up the frame packing.
Comment on
Re^2: Button Binding
Download
Code
Replies are listed 'Best First'.
Re^3: Button Binding
by
Anonymous Monk
on Mar 18, 2015 at 23:15 UTC
$submit->invoke
is not a subroutine reference
[reply]
[d/l]
In Section
Seekers of Perl Wisdom