MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guia do Utilizador Página 738

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 759
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 737
15 Examples of GUIs Created Programmatically
mOutputArgs{} = mIco nCData;
if nargout>0
[varargout{1:nargout}] = mOutputAr gs{:};
end
This code is the last that iconEditor executes before returning. It
executes only after clicking the OK or Cancel button triggers execution of
hOKButtonCallback or hCancelButtonCallback, which call uiresume to
resume execution.
Protect a GUI from Inadvertent Access
The pre pare Layout utility function protects the iconEditor from inadvertently
being altered from the command line by setting the
HandleVisibility
properties of all the components. Code in the initialization section of
iconEditor calls
prepareLayout with the handle of the main figure.
% Make changes needed for prop er look and feel and running on
% different platforms
prepareLayout(hMainFigure);
prepareLayout
first uses findall to retrieve the handles of all objects
contained in the figure. The list of retrieved handles includes the
colorPalette, which is embedded in the iconEditor, and its children.
The figure’s handle is passed to
prepareLayout as the input argument
topContainer.
allObjects = findall(topContainer) ;
prepareLayout
then sets the HandleVisibility properties of all those
objects that have one to
Callback.
% Make GUI objects available t o callbacks so that they cannot
% be changed accidentally by other MATLAB comm ands
set(allObjects(isprop(allObjects,'H andleVisibility')),...
'HandleVisibility','Callback');
Setting HandleVisib ility to C allb ack causes the GUI handles to be visible
from within callback routines or functions invoked by callback routines, but
not from within functions invoked from the command line. This ensures
that command-line users cannot inadvertently alter the GUI w hen it is the
current figure.
15-74
Vista de página 737
1 2 ... 733 734 735 736 737 738 739 740 741 742 743 ... 758 759

Comentários a estes Manuais

Sem comentários

Seiwa Sprzęt wodny podręczniki użytkownika

Lista Seiwa Sprzęt wodny produkty zawierają 22 instrukcje obsługi do modeli 14. Wszystkie podręczniki użytkownika w formacie pdf są dostępne do pobrania lub obejrzenia online.

Kliknij na poniższy alfabet, aby przejść do pełnej listy modeli zaczynających się od tej litery

Modele Rodzaj dokumentu
Explorer 3(v.7.0)
Instrukcja Użytkownika   Seiwa Explorer 3(v.7.0) User Manual, 8 strony
Instrukcja Użytkownika   Seiwa Explorer 3(v.7.0) Benutzerhandbuch, 8 strony
Instrukcja Użytkownika   Seiwa Explorer 3(v.7.0) Manuel d'utilisation, 8 strony
FT70 multi-touch
Instrukcja Użytkownika     Seiwa FT70 multi-touch User Manual, 2 strony
Marlin(v.16.31)
Instrukcja Użytkownika   Seiwa Marlin(v.16.31) User Manual, 12 strony
Radar tuning
Instrukcja Użytkownika   Seiwa Radar tuning User Manual, 14 strony
Seawave 12 MKII
Instrukcja Użytkownika   Seiwa Seawave 12 MKII Manual del usuario, 114 strony
Starfish 2nd Edition
Instrukcja Użytkownika   Seiwa Starfish 2nd Edition User Manual, 118 strony
Instrukcja Użytkownika   Seiwa Starfish 2nd Edition Manuale d'uso, 120 strony
Instrukcja Użytkownika   Seiwa Starfish 2nd Edition Benutzerhandbuch, 121 strony
SW AP01
Instrukcja Użytkownika   Seiwa SW AP01 User Manual, 52 strony
SW AP03
Instrukcja Użytkownika   Seiwa SW AP03 User Manual, 49 strony
Instrukcja Użytkownika   Seiwa SW AP03 Manuale d'uso, 36 strony
SW RP03
Instrukcja Użytkownika   Seiwa SW RP03 User Manual, 10 strony
SW RP05
Instrukcja Użytkownika   Seiwa SW RP05 User Manual, 6 strony
SW RP07
Instrukcja Użytkownika   Seiwa SW RP07 User Manual, 7 strony
SW701i SW701e
Instrukcja Użytkownika   Seiwa SW701i SW701e User Manual, 153 strony
Instrukcja Użytkownika   Seiwa SW701i SW701e Manuale d'uso, 157 strony
Instrukcja Użytkownika   Seiwa SW701i SW701e Benutzerhandbuch, 159 strony
Tigershark Plus
Instrukcja Użytkownika   Seiwa Tigershark Plus Manuale d'uso, 128 strony
Instrukcja Użytkownika   Seiwa Tigershark Plus User Manual, 109 strony