MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Manuel d'utilisateur Page 304

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 303
12 Examples of GUIs Created Programmatically
12-26
Note The following link executes MATLAB commands and is designed to
work within the MATLAB Help browser. If you are reading this online or in
PDF, you should go to the corresponding section in the MATLAB Help
Browser to use the links.
Click here to display the main GUI M-file in the MATLAB Editor.
Subfunction Summary
The color palette example includes the callbacks listed in the following table.
Function Description
colorCellCallback
Called by
hPalettePanelSelectionChanged when
any color cell is clicked.
eraserToolCallback
Called by
hPalettePanelSelectionChanged when
the Eraser button is clicked.
hMoreColorButtonCallback
Executes when the More Colors button
is clicked. It calls
uisetcolor to open the
standard color-selection dialog box, and
calls
localUpdateColor to update the
preview.
hPalettePanelSelectionChanged
Executes when the GUI user clicks on a
new color. This is the
SectionChangeFcn
callback of the
uibuttongroup that
exclusively manages the tools and color
cells that it contains. It calls the
appropriate callback to service each of
the tools and color cells.
Vue de la page 303
1 2 ... 299 300 301 302 303 304 305 306 307 308 309 ... 329 330

Commentaires sur ces manuels

Pas de commentaire