Gtk2::CV::Progress - a simple progress widget


Gtk2-CV documentation  | view source Contained in the Gtk2-CV distribution.

Index


NAME

Top

Gtk2::CV::Progress - a simple progress widget

SYNOPSIS

Top

  use Gtk2::CV::ImageWindow;

DESCRIPTION

Top

METHODS

new Gtk2::CV::Progress ...
 title => the progress widget title (mandatory)
 work  => amount of work (default 1)

$progress->update ($work)

The amount of work already done.

$progress->increment

Increment the progress value by the given amount (default: 1).

$progress->set_title ($title)

Change the title to the given string.

$progress->inprogress

Return true as long as the current progress is less than the work value.

AUTHOR

Top

Marc Lehmann <schmorp@schmorp.de>


Gtk2-CV documentation  | view source Contained in the Gtk2-CV distribution.