Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Perl Tk canvases / abuse...

by kcott (Archbishop)
on May 12, 2021 at 10:42 UTC ( [id://11132463]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $mw->idletasks();
    
  2. or download this
    $canvas->idletasks();
    
  3. or download this
    for ... (...) {
        ...
    ...
    }
    
    $canvas->idletasks();
    
  4. or download this
       for my $i (0..$size-1){
          for my $j (0..$size-1){
    ...
             $USE[$i][$j]=$c;
          }
       }
    
  5. or download this
       for my $i (0..$size-1){
          my $i_col = $i%0xFF;
    ...
                          : sprintf("#00%02X00",$j%0xFF);
          }
       }
    
  6. or download this
       for my $i (0..$size-1){
          my $i_col = $i%0xFF;
    ...
             $USE[$i][$j] = $i_mod20_9^($j%20>9) ? $reds[$i_col] : $greens
    +[$j%0xFF];
          }
       }
    
  7. or download this
    if (exists $use_cols{$size}) {
        @USE = @{$use_cols{$size}};
    ...
    
        $use_cols{$size} = [@USE];
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-20 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found