MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Spécifications Page 101

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 180
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 100
4
Programming GUIs
GUI Programming Topics . . . . . . . . . . . . . . 4-2
Understanding the Application M-File . . . . . . . . 4-3
Execution Paths in the Application M-File . . . . . . . . 4-4
Initializing the GUI . . . . . . . . . . . . . . . . . 4-7
Managing GUI Data with the Handles Structure . . . 4-10
Passing Data in the Handles Structure . . . . . . . . . . 4-10
Obtaining the Updated Handles Structure . . . . . . . . 4-12
If You Are Not Using a Handles Structure . . . . . . . . 4-12
Application-Defined Data . . . . . . . . . . . . . . . 4-14
Designing for Cross-Platform Compatibility . . . . . 4-15
Using the Default System Font . . . . . . . . . . . . . 4-15
Using Standard Background Color . . . . . . . . . . . 4-16
Cross-Platform Compatible Figure Units . . . . . . . . . 4-17
Types of Callbacks . . . . . . . . . . . . . . . . . 4-18
Callback Properties for All Graphics Objects . . . . . . . 4-18
Callback Properties for Figures . . . . . . . . . . . . . 4-18
Which Callback Executes . . . . . . . . . . . . . . . 4-19
Adding A Callback . . . . . . . . . . . . . . . . . . 4-19
Interrupting Executing Callbacks . . . . . . . . . . 4-20
Controlling Interruptibility . . . . . . . . . . . . . . 4-20
The Event Queue . . . . . . . . . . . . . . . . . . 4-20
Event Processing During Callback Execution . . . . . . . 4-21
Controlling GUI Figure Window Behavior . . . . . . 4-23
Using Modal Figure Windows . . . . . . . . . . . . . 4-23
Vue de la page 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 179 180

Commentaires sur ces manuels

Pas de commentaire