octave: Progress Bar
35.2 Progress Bar
=================
-- : H = waitbar (FRAC)
-- : H = waitbar (FRAC, MSG)
-- : H = waitbar (..., "createcancelbtn", FCN, ...)
-- : H = waitbar (..., PROP, VAL, ...)
-- : waitbar (FRAC)
-- : waitbar (FRAC, H)
-- : waitbar (FRAC, H, MSG)
Return a handle H to a new progress indicator ("waitbar") object.
The waitbar is filled to fraction FRAC which must be in the range
[0, 1].
The optional message MSG is centered and displayed above the
waitbar.
A cancel button can be added to the bottom of the waitbar using the
"createcancelbtn" property of waitbar figures. The action to be
executed when the user presses the button is specified using a
string or function handle FCN.
The appearance of the waitbar figure window can be configured by
passing PROP/VAL pairs to the function.
When called with a single input the current waitbar, if it exists,
is updated to the new value FRAC. If there are multiple
outstanding waitbars they can be updated individually by passing
the handle H of the specific waitbar to modify.
See also: delete XREFdelete.