Help for this page

Select Code to Download


  1. or download this
    $input->bind('<Return>', [\&mysub]); #$input is an Entry widget
    
  2. or download this
    $input->bind('<Return>', [\&mysub($arg)]);
    
  3. or download this
    
    Tk::Error: Not a CODE reference at c:\perl\site\lib\/tk.pm line 340