This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Coding App Behavior

Control behavior of apps

Callbacks are responsible for the interactive functionality of an app. A callback is a function that you write to make components (such as buttons, sliders, or menus) respond to user interactions (such as button clicks, slider movements, and menu item selections).

You can assign callback functions to specific components by setting certain properties on those components. For more information, see Write Callbacks in GUIDE and Write Callbacks for Apps Created Programmatically.


guide Open GUIDE
uiwait Block program execution and wait to resume
uiresume Resume execution of blocked program
waitfor Block execution and wait for condition
waitforbuttonpress Wait for key press or mouse-button click
closereq Default figure close request function
getappdata Retrieve application-defined data
setappdata Store application-defined data
isappdata True if application-defined data exists
rmappdata Remove application-defined data
guidata Store or retrieve UI data
guihandles Create structure of handles
uisetpref Manage preferences used in uigetpref
Was this topic helpful?