Navigation

Operators and Keywords

Function List:

C++ API

: dellistener (h, prop, fcn)

Remove the registration of fcn as a listener for the property prop of the graphics object h.

The function fcn must be the same variable (not just the same value), as was passed to the original call to addlistener.

If fcn is not defined then all listener functions of prop are removed.

Example:

function my_listener (h, dummy, p1)
 fprintf ("my_listener called with p1=%s\n", p1);
endfunction

c = {@my_listener, "my string"};
addlistener (gcf, "position", c);
dellistener (gcf, "position", c);

Package: octave