Maple für Professional
Maple für Akademiker
Maple für Studenten
Maple Personal Edition
Maple Player
Maple Player für iPad
MapleSim für Professional
MapleSim für Akademiker
Maple T.A. - Testen & beurteilen
Maple T.A. MAA Placement Test Suite
Möbius - Online-Courseware
Machine Design / Industrial Automation
Luft- und Raumfahrt
Fahrzeugtechnik
Robotics
Energiebranche
System Simulation and Analysis
Model development for HIL
Anlagenmodelle für den Regelungsentwurf
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematikausbildung
Technik
Allgemein- und berufsbildende Schulen
Testen und beurteilen
Studierende
Finanzmodelle
Betriebsforschung
Hochleistungsrechnen
Physik
Live-Webinare
Aufgezeichnete Webinare
Geplante Veranstaltungen
MaplePrimes
Maplesoft-Blog
Maplesoft-Mitgliedschaft
Maple Ambassador Program
MapleCloud
Technische Whitepapers
E-Mail Newsletters
Maple-Bücher
Math Matters
Anwendungs-Center
MapleSim Modell-Galerie
Anwenderberichte
Exploring Engineering Fundamentals
Lehrkonzepte mit Maple
Maplesoft Welcome-Center
Resource-Center für Lehrer
Help-Center für Studierende
ContextMenu[New] - construct a new context menu module
Calling Sequence
New()
Description
The New command constructs a new context menu to which entries, queries, and entry generators can be added using the Entries[Add], Entries[AddMultiple], Queries[Add], and EntryGenerators[Add] commands. You can replace the current context menu with the new context menu using the Install command.
Examples of ContextMenu[New]
with(ContextMenu):
Replace the default context menu with a new context menu.
newCM := New();
newCM[Entries][Add]("Multiply by 2", "2*%EXPR", numeric);
newCM[Queries][Add]("Divisible by 2", proc(p) evalb(p mod 2 = 0) end proc);
newCM[Entries][Add]("Divide by 2", "%EXPR/2", integer, 'test'="Divisible by 2");
Install(newCM);
See Also
ContextMenu, Entries/Add, Entries/AddMultiple, EntryGenerators/Add, Install, Queries/Add
Download Help Document