Padre::Wx::Progress - Tell the user that we're doing something
my $object = Padre::Wx::Progress->new($title, $max_count, [modal => 1,] [lazy => 1,] ); $object->Update($done_count, $current_work_text);
Shows a progress bar dialog to tell the user that we're doing something.
my $object = Padre::Wx::Progress->new($title, $max_count, [message => $default_message] [modal => 1,] [lazy => 1,] );
The new constructor lets you create a new Padre::Wx::Progress object.
new
$title is the title of the new box.
$max_count contains the highest item-number being processed.
Options:
A default message could be set (in case ->update should be called without text) with the message key. This is overriden by the newest ->update - text.
Set modal to true to lock other application windows while the progress box is displayed
Set lazy to true to show the progress dialog only if the whole process takes long enough that the progress box makes sense.
Returns a new Padre::Wx::Progress or dies on error.
$progress->update($value,[$text])
Updates the progress bar with a new value and optional with a new text message.
Copyright 2008-2009 The Padre development team as listed in Padre.pm.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Padre, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Padre
CPAN shell
perl -MCPAN -e shell install Padre
For more information on module installation, please visit the detailed CPAN module installation guide.