Help for this page

Select Code to Download


  1. or download this
      $mainwindow->bind( 'Tk::Text', '<Leave>', [\&copyText, $tw1, $tw2] )
    +;
    
  2. or download this
    sub copyText {
      my ($trigger,$tw1,$tw2) = @_;
    ...
      $dst->delete('1.0','end');
      $dst->insert('1.0',$txt);
    }