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.

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