Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Perl Tk canvases / abuse...

by choroba (Archbishop)
on May 11, 2021 at 23:02 UTC ( #11132440=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
             $canvas->createRectangle(
                 $i * $ps, $j * $ps,
    ...
                 -outline => $c,
                 -tags    => ['bg']);
          }
    
  2. or download this
    sub erase{
        $canvas->delete('bg');
    }
    
  3. or download this
           $canvas->createLine($start_x, $start_y, $x1, $y1,
                               -width => 2,
    ...
    # and after drawing the new background:
    
       $canvas->raise('fg', 'bg');
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11132440]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2021-08-02 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My primary motivation for participating at PerlMonks is: (Choices in context)








    Results (23 votes). Check out past polls.

    Notices?