MATLAB Creating Graphical User Interfaces
The Toolbar Editor gives you interactive access to all the features of the uitoolbar, uipushtool, and uitoggletool functions. It ...
(^1) Open the UI in GUIDE. (^2) From the View menu, open Property Inspector. (^3) Set the ToolBar property to 'figure' using the ...
To add a tool, drag an icon from the Tool Palette into the Toolbar Layout (which initially contains the text prompt shown above) ...
Select a tool in the palette and click the Add button. Double-click a tool in the palette. Dragging allows you to place a tool ...
Predefined and Custom Tools The Toolbar Editor provides two types of tools: Predefined tools, having standard icons and behavio ...
Move Tools You can reorder tools on the toolbar in two ways: Drag a tool to a new position. Select a tool in the toolbar and cl ...
Edit Tool Icons To edit a selected toolbar icon, click the Edit button in the Tool Properties pane, next to CData (icon) or righ ...
Close the Toolbar Editor You can close the Toolbar Editor window in two ways: Press the OK button. Click the Close box in the t ...
Use the Icon Editor The Icon Editor dialog includes the following components: Icon file name — The icon image file to be loaded ...
Click a another drawing tool to disable the Eraser. (^4) Click OK to close the dialog and return the icon you created or click ...
See Also Related Examples “Write Callbacks in GUIDE” on page 7-2 “Callbacks for Specific Components” on page 7-12 “Create Menus ...
Design Cross-Platform UIs in GUIDE In this section... “Default System Font” on page 6-106 “Standard Background Color” on page 6- ...
sets the FontName property to use the system default. Specify a Fixed-Width Font If you want to use a fixed-width font for a use ...
using the default figure Units of pixels does not produce a UI that looks the same on all platforms. For this reason, GUIDE defa ...
Programming a GUIDE App “Write Callbacks in GUIDE” on page 7-2 “Initialize UI Components in GUIDE Apps” on page 7-8 “Callbacks ...
Write Callbacks in GUIDE In this section... “Callbacks for Different User Actions” on page 7-2 “GUIDE-Generated Callback Functio ...
Callback Property User Action Components That Use This Property ClickedCallba ck End user clicks the push tool or toggle tool wi ...
Callback Property User Action Components That Use This Property WindowButtonM otionFcn End user moves the pointer within the fig ...
argument is the name of the callback function. The last three arguments are provided by MATLAB, and are discussed in the section ...
Callback Property Name Component CellEditCallback CellSelectionCallback uitable Renaming and Removing GUIDE-Generated Callbacks ...
«
5
6
7
8
9
10
11
12
13
14
»
Free download pdf