User`s guide
12 Code a Programmatic GUI
Callback Property Triggering Event Components
ResizeFcn
Executes when a user
resizes a panel, button
group, or figure whose
figure
Resize property is
set to
On.
Figure, button
group, panel
SelectionChangeFcn
Executes when a user
selects a different radio
button or toggle button in a
button group component.
Button group
WindowButtonDownFcn
Executes when you press
a m ouse button while the
pointer is in the figure
window.
Figure
WindowButtonMotionFcn
Executes when you move
the pointer within the
figure w i nd ow.
Figure
WindowButtonUpFcn
Executes when you release
a mouse button.
Figure
WindowKeyPressFcn
Executes when you press
akeywhenthefigureor
any of its child objects has
focus.
Figure
WindowKeyReleaseFcn
Executes when you release
akeywhenthefigureor
any of its child objects has
focus.
Figure
WindowScrollWheelFcn
Executes when the mouse
wheel is scrolled while the
figure has focus.
Figure
12-10