[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: |
Sat, 20 Jun 2015 09:17:59 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0 |
URL:
<http://savannah.gnu.org/bugs/?45364>
Summary: waitbar function doesnt implement the
CreateCancelBtn option
Project: GNU Octave
Submitted by: amro_octave
Submitted on: Sat 20 Jun 2015 12:17:57 PM EEST
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.0
Operating System: Any
_______________________________________________________
Details:
Octave doesn't support creating a waitbar
<http://www.mathworks.com/help/matlab/ref/waitbar.html> with a cancel button.
Example that works in MATLAB (tested in latest R2015a):
h = waitbar(0, 'test', 'CreateCancelBtn','setappdata(h,''cancel'',1)');
setappdata(h,'cancel',0)
for i=1:10
if getappdata(h,'cancel'), break; end
waitbar(i/10,h);
pause(0.5);
end
delete(h)
Octave throws an error on the first line:
error: set: unknown figure property CreateCancelBtn
error: called from
figure at line 86 column 7
waitbar at line 112 column 8
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45364>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45364] waitbar function doesnt implement the CreateCancelBtn option,
Amro <=