Specifications

Creating Menus — The Menu Editor
3-65
This is the automatically generated callback subfunction that you see if you
click the
View button after saving the GUI, or if you edit the GUI M-file.
function menu_edit_selectall_Callback(hObject, eventdata,...
handles)
% hObject handle to menu_edit_selectall (see GCBO)
% eventdata reserved - to be defined in a future version of
% MATLAB
% handles structure with handles and user data (see GUIDATA)
Defining Context Menus
A context menu is displayed when a user right-clicks on 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.
See “Defining Menus for the Menu Bar” on page 3-58 for information about
defining menus in general.
Creating the Parent Menu
All items in a context menu are children of a menu that is not displayed on the
figure menu bar. To define the parent menu, select
New Context Menu from
the Menu Editor’s toolbar.