User`s guide

15 Examples of GUIs Created Programmatically
Techniques Explored by Programmatic GUI Examples
Thefivecompleteexamplesthatfollowillustratehowtocreateandprogram
GUIs manually:
“GUI with Axes, Menu, and Toolbar” on page 15-4
“GUI that Displays and Graphs Tabular Data” on page 15-19
“A GUI That Manages List Data” on page 15-33
“Color Palette” on page 15-51
“Icon Editor” on page 15-63
Each example lists and discusses the components and techniques it uses. By
studying and trying the examples, you can learn how to:
Update graphs of tabular data in a G UI and copy them to a new figure
Create of a dialog that does not return until the user makes a choice
Pass input arguments to the GUI when it is opened
Obtain output from the GUI when it returns
Shield the GUI from accidental changes
Run the GUI across multiple platforms
Share callbacks among components
Share data among multiple GUIs
Create menus and context menus
Use an external utility function
Achieve proper resize behavior
Make a GUI modal
Create toolbars
All but one of the examples all use nested functions. For information about
using nested functions, see “Nested Functions”.
15-2