MATLAB Creating Graphical User Interfaces

(ff) #1

Context Menus


A context menu is displayed when a user right-clicks the object for which the menu is
defined. The Menu Editor enables you to define context menus and associate them with
objects in the layout. The process has three steps:


(^1) “Create the Parent Menu” on page 6-88
(^2) “Add Items to the Context Menu” on page 6-89
(^3) “Associate the Context Menu with an Object” on page 6-92
NoteSee “Menus for the Menu Bar” on page 6-77 for information about defining menus
in general. See “Menu Item” on page 7-22 for information about defining local callback
functions for your menus.
Create Menus for GUIDE Apps

Free download pdf