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

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

[Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" prope


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties
Date: Sun, 21 Jan 2018 15:50:35 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0

Follow-up Comment #13, bug #52804 (project octave):

I attached an updated patch that should compile this time (sorry!), in which I
added some documentation (don't hesitate to rephrase) and also modified
__get_frame__ to be ML compatible. I attached also the two callback functions
I used for testing:
* cb.m is a lengthy callbacks that periodically executes "drawnow",
"getframe", "pause", "waitfor" or "figure" and writes into appdata. It may
also be used to test that deletefcn, resizefcn are never queued.
* cb2.m also writes into appdata each time it is called.


clf
set (gca, 'buttondownfcn', @cb, 'interruptible', 'on')
hui = uicontrol ('style', 'pushbutton', 'callback', 'disp (''button'')',
'busyaction', 'queue')


With the patch Octave works like Matlab again (I hope), the only difference
now is that I am aware of it :-).

(file #43000, file #43001, file #43002)
    _______________________________________________________

Additional Item Attachment:

File name: revert_document_busyaction.patch Size:7 KB
File name: cb.m                           Size:0 KB
File name: cb2.m                          Size:0 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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