Curses::UI::Progressbar - Create and manipulate progressbar widgets |
Curses::UI::Progressbar - Create and manipulate progressbar widgets
Curses::UI::Widget | +----Curses::UI::Progressbar
use Curses::UI; my $cui = new Curses::UI; my $win = $cui->add('window_id', 'Window');
my $progressbar = $win->add( 'myprogressbar', 'Progressbar', -max => 250, -pos => 42, );
$progressbar->draw;
Curses::UI::Progressbar is a widget that can be used to provide some sort of progress information to the user of your program. The progressbar looks like this:
+------------------------------------------+ |||||||||---------- 14% ------------------ | +------------------------------------------+
See exampes/demo-Curses::UI::Progressbar in the distribution for a short demo.
-parent, -x, -y, -width, -height, -pad, -padleft, -padright, -padtop, -padbottom, -ipad, -ipadleft, -ipadright, -ipadtop, -ipadbottom, -title, -titlefullwidth, -titlereverse
For an explanation of these standard options, see Curses::UI::Widget.
Since a Progressbar is a non-interacting widget, it does not have any bindings.
Curses::UI, Curses::UI::Widget, Curses::UI::Common
Copyright (c) 2001-2002 Maurice Makaay. All rights reserved.
Maintained by Marcus Thiesen (marcus@cpan.thiesenweb.de)
This package is free software and is provided ``as is'' without express or implied warranty. It may be used, redistributed and/or modified under the same terms as perl itself.
Curses::UI::Progressbar - Create and manipulate progressbar widgets |