Creating Graphical User Interfaces |
When working in the Layout Editor, you can select an object with the left mouse button and then click the right button to display a context menu.
Like the View menu in the Layout Editor, these context menus enable you to add a callback subfunction to your GUI M-file for any of the object properties that define callback routines. See Callback Properties for more information.
Figure Context Menus
The following picture shows the context menu associated with a figure object. Note that all properties that define callback routines for figures are listed in the submenu.
Component Context Menus
The following picture shows the context menu associated with user interface control components, as well as with axes, panels, and button groups. The callback properties listed in the View Callbacks submenu differ for different components.
Layout Editor Preferences | Selecting GUI Options |
© 1994-2005 The MathWorks, Inc.