MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guide de l'utilisateur Page 657

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 759
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 656
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
Vue de la page 656
1 2 ... 652 653 654 655 656 657 658 659 660 661 662 ... 758 759

Commentaires sur ces manuels

Pas de commentaire