Help for this page

Select Code to Download


  1. or download this
      
    #!/usr/bin/perl -w            
    use Tk;
    ...
        my @coords_list = $c->coords($rect);
    
    MainLoop;
    
  2. or download this
    $mw->bind('<Right-KeyPress-Up>', sub{$c->move($rect, 5, -5);});