Specifications
4 Programming GUIs
4-2
GUI Programming Topics
Graphical user interfaces (GUIs) contain various user-interface components
that enable software to communicate with an end user. One of the tasks of the
GUI implementer is to control how the GUI responds to user actions. This
section describes ways to approach the programming of the GUI.
•Understanding the Application M-File – The application M-file programs the
GUI. This section describes the functioning of the application M-file, both the
generated and user-written code.
•Managing GUI Data – The
handles structure provides easy access to all
component handles in the GUI. In addition, you can use this structure to
store all global data required by your GUI.
•Designing for Cross-Platform Compatibility – This section discusses the
settings (used by default with GUIDE) that enable you to make your GUI
look good on different computer platforms.
•Types of Callbacks
– You can define callbacks in addition to that defined by
the uicontrol
Callback property. This sections discusses the types available
and their applications.
•Interrupting Executing Callbacks – This section describes how the GUI
programmer can control whether user actions can interrupt executing
callbacks.
•Controlling GUI Figure Window Behavior – This section discusses how a
GUI figure can block MATLAB execution and can be modal.