Unless you show some of your code, you are only going to get generic answers.
use warnings; use strict; use Tk; my $top = MainWindow->new; $top->Button( -text => 'Push Me', -command => \&mysub )->pack; $top->bind('<Return>', \&mysub); MainLoop; sub mysub{ $top->Label( -text => 'You pressed it!' )->pack; }
In reply to Re: tk bind
by thundergnat
in thread tk bind
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |