MATLAB Creating Graphical User Interfaces
Force Display of the Context Menu If you set the context menu Visible property on, the context menu is displayed at the location ...
If you set the context menu Visible property to off, or if the user clicks outside the context menu, the context menu disappears ...
Create Toolbars for Programmatic Apps In this section... “Use the uitoolbar Function” on page 9-51 “Commonly Used Properties” on ...
Property Values Description CData 3-D array of values between 0.0 and 1.0 n-by-m-by-3 array of RGB values that defines a truecol ...
'HandleVisibility','off'); % Add a toggle tool to the toolbar img2 = rand(16,16,3); tth = uitoggletool(tbh,'CData',img2,'Separat ...
Tooltip specifies the tooltips for the push tool and the toggle tool as My push tool and Your toggle tool, respectively. In this ...
If necessary, you can use the findall function to determine the handles of the tools on a particular toolbar. NoteAfter you have ...
Display the Standard Toolbar Use the figure ToolBar property to display or hide the standard toolbar. Set ToolBar to 'figure' to ...
See Also uipushtool | uitoggletool | uitoolbar Related Examples “Create Menus for Programmatic Apps” on page 9-38 See Also ...
DPI-Aware Behavior in MATLAB In this section... “Visual Appearance” on page 9-58 “Using Object Properties” on page 9-60 “Using p ...
When you create a graphics or UI object, and specify the Units as 'pixels', the size of that object is now consistent with the ...
On Windows systems, the size of the Command Window fonts and Editor fonts might be larger than in previous releases. In particu ...
Root ScreenSize Property The ScreenSize property of the root object might not match the display size reported by high-DPI Window ...
See Also Figure | Root 9 Lay Out a Programmatic UI ...
Code a Programmatic App “Initialize a Programmatic App” on page 10-2 “Write Callbacks for Apps Created Programmatically” on pag ...
Initialize a Programmatic App Some apps might perform these tasks when you launch them: Define default values Set UI component ...
The fullfile function builds a full filename from parts. The following statements start the Icon Editor application. The first s ...
(^1) A call to uiwait blocks execution until uiresume is called or the current figure is deleted. (^2) While execution is blocke ...
Write Callbacks for Apps Created Programmatically In this section... “Callbacks for Different User Actions” on page 10-5 “How to ...
Callback Property User Action Components That Use This Property CloseRequestF cn The figure closes. figure CreateFcn Callback ex ...
«
11
12
13
14
15
16
17
18
19
20
»
Free download pdf