User`s guide
15 Examples of GUIs Created Programmatically
Subfunction Summary
The icon editor e xample includes the callbacks listed in the following table.
Function Description
hMainFigureWindowButtonDownFcn
Executes when the user clicks
a mouse button anywhere
in the GUI figure. It calls
localEditColor.
hMainFigureWindowButtonUpFcn
Executes when the user releases
the mouse button.
hMainFigureWindowButtonMotionFcn
Executes when the user drags
the mouse anywhere in the figure
with a button pressed. It calls
localEditColor.
hIconFileEditCallback
Executes after the user manually
changes the file name of the
icon to be edited. It calls
localUpdateIconPlot.
hIconFileEditButtondownFcn
Executes the first time the user
clicks the Icon file edit box.
hOKButtonCallback
Executes when the user clicks the
OK push button.
hCancelButtonCallback
Executes when the user clicks the
Cancel push button.
hIconFileButtonCallback
Executes when the user clicks the
Icon file push butto n
.Itcalls
localUpdateIconPlot.
The example also includes the helper functions listed in the following table.
15-68