MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Uživatelský manuál Strana 146

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 145
6 Laying Out a GUI
6-56
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 “Menus for the Menu Bar” on page 6-49 for information about defining
menus in general.
Note See “Menu Item” on page 8-37 for information about defining callback
subfunctions for your menus.
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
1 Select the Menu Editor’s Context Menus tab and select New Context Menu
from the toolbar.
2 Select the menu and specify the Tag to identify the context menu
(
axes_context_menu in this example).
Zobrazit stránku 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 329 330

Komentáře k této Příručce

Žádné komentáře