octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45364] waitbar function doesnt implement the


From: Amro
Subject: [Octave-bug-tracker] [bug #45364] waitbar function doesnt implement the CreateCancelBtn option
Date: Mon, 22 Jun 2015 20:20:13 +0000
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0

Follow-up Comment #2, bug #45364 (project octave):

Many thanks @pantxo.

I tested the patch by manually applying it on top of my existing 4.0.0, and it
works!

----

Regarding the scope of the handle "h", the example will actually work in
MATLAB as long as you run it in the command prompt or from a script (where "h"
will be stored in the base workspace).

Obviously it is more robust to use "gcbf" as you noted. This is required if
you run the example from an M-function, in which case "h" will be undefined
when the callback is exectued...

Is that a separate bug in Octave regarding the context in which string
callbacks are executed?

If it helps, here are the relevant docs from MATLAB:

-
http://www.mathworks.com/help/matlab/creating_guis/write-callbacks-using-the-programmatic-workflow.html#brqowqm
-
http://www.mathworks.com/help/opc/ug/create-and-execute-callback-functions.html#f3-128874


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45364>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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