Callback
Property
User Action Components That Use This
PropertyClickedCallba
ck
End user clicks the push tool or
toggle tool with the left mouse
button.uitoggletool, uipushtoolCloseRequestF
cn
The figure closes. figureCreateFcn Callback executes when MATLAB
creates the object, but before it is
displayed.
axes, figure, uibuttongroup,
uicontextmenu, uicontrol,
uimenu, uipushtool, uipanel,
uitable, uitoggletool,
uitoolbarDeleteFcn Callback executes just before
MATLAB deletes the figure.
axes, figure, uibuttongroup,
uicontextmenu, uicontrol,
uimenu, uipushtool, uipanel,
uitable, uitoggletool,
uitoolbarKeyPressFcn End user presses a keyboard key
while the pointer is on the object.
figure, uicontrol, uipanel,
uipushtool, uitable,
uitoolbarKeyReleaseFcnEnd user releases a keyboard key
while the pointer is on the object.
figure, uicontrol, uitableOffCallback Executes when the State of a
toggle tool changes to 'off'.
uitoggletoolOnCallback Executes when the State of a
toggle tool changes to 'on'.
uitoggletoolSizeChangedFc
n
End user resizes a button group,
figure, or panel whose Resize
property is 'on'.figure, uipanel,
uibuttongroupSelectionChan
gedFcn
End user selects a different radio
button or toggle button within a
button group.uibuttongroupWindowButtonD
ownFcn
End user presses a mouse button
while the pointer is in the figure
window.figureWrite Callbacks in GUIDE