You can add a key-binding to the entry like so:
Inside of that anonymous sub can be any code you want, including another sub call or a Tk event generation, etc.$entry->bind( '<Return>', sub { 'whatever code you want here' } );
In reply to Re: Tk::Entry acting on <enter>
by kelan
in thread Tk::Entry acting on <enter>
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |