octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: waitbar ?


From: Ben Abbott
Subject: Re: waitbar ?
Date: Wed, 21 Dec 2011 09:17:41 -0500

On Dec 21, 2011, at 9:05 AM, John W. Eaton wrote:

> On 21-Dec-2011, marco atzeri wrote:
> 
> | I am testing all the demos on latest dev, as a quality check
> | for 3.6 release, but before opening a bug for this, I need
> | a clarification, as I am a bit confused.
> | -------------------------------------------------------
> | octave:3> demo /pub/hg/octave/scripts/plot/waitbar.m
> | /pub/hg/octave/scripts/plot/waitbar.m example 1:
> |   h = waitbar (0, "0.00%");
> |   for i = 0:0.01:1
> |     waitbar (i, h, sprintf ("%.2f%%", 100*i));
> |   endfor
> |   close (h);
> | 
> | /pub/hg/octave/scripts/plot/waitbar.m example 1: failed
> | `waitbar' undefined near line 3 column 6
> | -------------------------------------------------------
> | 
> | As waitbar is defined in waitbar.m, I presume the file is skipped
> | from loading somewhere.
> | 
> | Is it a bug or a still incomplete feature ?
> 
> I don't know why you are seeing the error about waitbar being
> undefined.  It is supposed to work, and does for me, at least with the
> fltk graphics toolkit.
> 
> jwe

Should waitbar be listed in module.mk ?

diff --git a/scripts/plot/module.mk b/scripts/plot/module.mk
--- a/scripts/plot/module.mk
+++ b/scripts/plot/module.mk
@@ -194,6 +194,7 @@
   plot/uitoolbar.m \
   plot/uiwait.m \
   plot/view.m \
+  plot/waitbar.m \
   plot/waitforbuttonpress.m \
   plot/whitebg.m \
   plot/xlabel.m \

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]