The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Button Widget

$pb=Paw::Progressbar-new( \$variable, [$from], [$to], [$blocks], [$color], [$name] );>

Parameter

  variable => a reference to a scalar variable which
              should be represented by the progressbar

  from     => the minimum value (defaults to 0)

  to       => the maximum value (defaults to 100)

  blocks   => the number ob blocks between 'from' and 'to'
              defaults to 10

  name     => name of the progressbar [optionally]

  color    => the colorpair must be generated with
              Curses::init_pair(pair_nr, COLOR_fg, COLOR_bg)
              [optionally]

Example

  $pb=Paw::Progressbar->new( from=>-10, to=>10, blocks=>25, color=>3 );