Help for this page

Select Code to Download


  1. or download this
    $ perl -d:Trace -MTk -e" tkinit()->Text()->pack; MainLoop" 2>2
    
    $ grep -i bind 2 |grep -i "<3>"
    Tk/Text.pm:146:  $mw->bind($class, '<3>', ['PostPopupMenu', Ev('X'), E
    +v('Y')]  );
    
  2. or download this
    sub MenuLabels
    {
    ...
    }
    
  3. or download this
    }
    
    ...
     return $w->{'_MENU_'};
    }
    
  4. or download this
    $ perl -MTk -e" $a=tkinit(); $a->Button( qw! -text bam -command !, sub
    + { $b->eventGenerate(q!<3>!); } )->pack; $b = $a->Text()->pack;  Main
    +Loop"