listener on graphics property 'BeingDeleted'
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Markus Leuthold am 6 Nov. 2015
Beantwortet: Sean de Wolski am 1 Sep. 2016
How do I add a listener to a graphics object being deleted? It seems like 'BeingDeleted' is set to 'on' during deletion. Furthermore 'BeingDeleted' is SetObservable. So why does the following code not work?
Please note I don't want to use the callback 'deleteFcn', since there might be other objects interested in the delete event.
Daniel Kovari am 1 Sep. 2016
I'm also having trouble with listeners to 'BeingDeleted'. Did you find a work around?
Sean de Wolski am 1 Sep. 2016
How about just listening for 'ObjectBeingDestroyed'?
Find more on Specifying Target for Graphics Output in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!