User`s guide

8 Programming a GUIDE GUI
Callback Property Triggering Event Components
CreateFcn
Initializes the component
when a function creates
it. It executes after the
component or figure is
created, but before it
displays.
Axes, button
group, context
menu, figure,
menu, panel,
push tool, toggle
tool, toolbar, user
interface controls
DeleteFcn
Performs cleanup
operations just before
the com po ne nt or figure is
destroyed.
Axes, button
group, context
menu, figure,
menu, panel,
push tool, toggle
tool, toolbar, user
interface controls
KeyPressFcn
Executes when the GUI
user presses a keyboard
key and the component or
figure with this callback
has focus.
Figure, user
interface controls
KeyReleaseFcn
Executes when the GUI
user releases a keyboard
key and the fig ure has
focus.
Figure
OffCallback
Control action. Executes
when the
State of a toggle
tool changes to
off.
Toggle tool
OnCallback
Control action. Executes
when the
State of a toggle
tool changes to
on.
Toggle tool
ResizeFcn
Executes when a GUI user
resizes a panel, button
group, or figure whose
figure
Resize property is
On.
Figure, button
group, panel
8-4