User`s guide

Callback Sequencing and Interruption
- WindowButton DownFcn
- WindowButton MotionFcn
- WindowButton UpFcn
- WindowScroll WheelFcn
For callbacks that objects can issue continuously, such as most of the above,
setting the figure’s
Interruptible property to 'off' might be necessary if
callbacks from other objects or GUIs could fire while such interactions are
occurring. The rationale is, do not interrupt callbacks that keep on coming
unless there is a specific reason to do so.
For GUI components,
Interruptible applies to:
- ButtonDownFc n
- Callback
- CellSelectio nCallback
- KeyPressFcn
- SelectionCha ngeFcn
- ClickedCallb ack
- OffCallback
- OnCallback
for components which have these properties.
To prevent callbacks such as the above from being interrupted when they
occur repreatedly, set the value of the
Interruptible property of the object
whose callback is repeating to
'off':
set(hObject,'Interruptible','off');
where hObject is the handle to the object whose callback is called continuously
(for example, to load another GUIDE GUI).
How the Busy Action Property Works
YoucansetanobjectsBusyAction property to either queue (th e default)
or
cancel.TheBusyAction property of the interrupting callback’s object
14-5