my $object = Padre::Wx::Progress->new(
message => $default_message # optional
modal => 1, # optional
lazy => 1, # optional
The new constructor lets you create a new Padre::Wx::Progress object.
$title is the title of the new box.
$max_count contains the highest item-number being processed.
A default message could be set (in case update should be called without text)
with the message key. This is overridden by the newest update text.
Default is an empty message.
Set modal to true to lock other application windows while the progress
box is displayed. Default is 0 (non-modal).
Set lazy to true to show the progress dialog only if the whole process
takes long enough that the progress box makes sense. Default if 1 (lazy-mode).
All options are optional, Padre will use fixed defaults if theyre missing.
Returns a new Padre::Wx::Progress or dies on error.