Help for this page

Select Code to Download


  1. or download this
        our $dis = $mw->Entry( -width => '30' )->pack;    # Changed width 
    +from 10 to 30
    
  2. or download this
        sub CLxsub
        {
    ...
        $res='s';
        }
    
  3. or download this
       sub CLxsub {
           $x = 0;
    ...
           $res = 's';
       }
    
  4. or download this
           my $STO = $mw->Button(
                              -text => 'STO',
    ...
                              -background => 'black'
                              )->pack;
                   $STO->place(-x=>100 + $xxx,-y=>'170');
    
  5. or download this
    sub button($$$$$;$$$$) {
                my ($parent, $text, $pcmd, $x, $y, $fg, $bg, $width, $heig
    +ht) = @_;
    ...
                $b->place(-x => $x, -y => $y);
                return $b;
              }
    
  6. or download this
              button($mw, 'Enter', [\&entersub],    197,      155);
              button($mw, '+',     [\&somasub],     353,      170);
    ...
              button($mw, 'f',     0,               $xxx+33,  170,  0, 'dg
    +');
              button($mw, 'OFF',   sub{exit},       $xxx,     170);