MATLAB Creating Graphical User Interfaces
Create Menus for Programmatic UIs Figure windows with a standard menu bar also have a Desktop menu from which the user can dock ...
10 Lay Out a Programmatic UI Menu Bar Menu The following statements create a menu bar menu with two menu items. mh = uimenu(fh,' ...
Create Menus for Programmatic UIs This command adds a separator line preceding the second menu item. eh2.Separator = 'on'; ...
10 Lay Out a Programmatic UI The following statements add two menu subitems to Item 1, assign each subitem a keyboard accelerato ...
Create Menus for Programmatic UIs Add Context Menus to a Programmatic UI Context menus appear when the user right-clicks on a fi ...
10 Lay Out a Programmatic UI Property Values Description Visible off, on. Default is off Indicates whether the context menu is ...
Create Menus for Programmatic UIs mh1 = uimenu(cmenu,'Label','Item 1'); mh2 = uimenu(cmenu,'Label','Item 2'); mh3 = uimenu(cmenu ...
10 Lay Out a Programmatic UI This code associates the context menu with the figure and with the axes by setting the UIContextMen ...
Create Menus for Programmatic UIs Force Display of the Context Menu If you set the context menu Visible property on, the context ...
10 Lay Out a Programmatic UI If you set the context menu Visible property to off, or if the user clicks outside the context menu ...
Create Toolbars for Programmatic UIs Create Toolbars for Programmatic UIs In this section... “Use the uitoolbar Function” on pag ...
10 Lay Out a Programmatic UI Property Values Description displayed on either a push button or toggle button. HandleVisibility on ...
Create Toolbars for Programmatic UIs % Add a toggle tool to the toolbar img2 = rand(16,16,3); tth = uitoggletool(tbh,'CData',img ...
10 Lay Out a Programmatic UI TooltipString specifies the tooltips for the push tool and the toggle tool as My push tool and Your ...
Create Toolbars for Programmatic UIs If necessary, you can use the findall function to determine the handles of the tools on a p ...
10 Lay Out a Programmatic UI Display the Standard Toolbar Use the figure Toolbar property to display or hide the standard toolba ...
Fonts and Colors for Cross-Platform Compatibility Fonts and Colors for Cross-Platform Compatibility In this section... “Default ...
10 Lay Out a Programmatic UI Standard Background Color MATLAB uses the standard system background color of the system on which t ...
11 Code a Programmatic UI “Initialize a Programmatic UI” on page 11- 2 “Write Callbacks Using the Programmatic Workflow” on pag ...
11 Code a Programmatic UI Initialize a Programmatic UI Programs that present a UI might perform these tasks when you launch them ...
«
16
17
18
19
20
21
22
23
24
25
»
Free download pdf