[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: |
Fri, 5 Jan 2018 04:29:48 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
Follow-up Comment #3, bug #52804 (project octave):
@Rik: the busyaction property that is taken into acount is the one of the
interrupt*ing* callback object, as stated in the ML doc
>> ...BusyAction property (of the object owning the interrupting callback)...
so your extended example should be
close all;
graphics_toolkit qt
hl = line ();
lsn = @() disp ("line listener");
function lsn2 (h, evt, hl)
disp ("begin axes listener");
set (hl, "linewidth", get (h, "linewidth"));
disp ("end axes listener");
endfunction
addlistener (gca, "linewidth", address@hidden, hl});
addlistener (hl, "linewidth", lsn);
disp ("Interruptible : ON");
set (gca, "linewidth", 2);
drawnow ();
disp ("\nInterruptible : OFF, BusyAction : QUEUE");
set (gca, "interruptible", "off");
set (gca, "linewidth", 3);
drawnow ();
disp ("\nInterruptible : OFF, BusyAction : CANCEL");
set (hl, "busyaction", "cancel");
set (gca, "linewidth", 4);
drawnow ();
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52804>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/04
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/05
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/11
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/11
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/18
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/18
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/18
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Rik, 2018/01/19
- [Octave-bug-tracker] [bug #52804] "Interruptible" and "BusyAction" properties, Pantxo Diribarne, 2018/01/21