Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
Overview of the ContextMenu Package
Calling Sequence
ContextMenu[command](arguments)
command(arguments)
Description
The ContextMenu package provides tools to control and customize the Maple context-sensitive menus. For details and usage, see Creating Context Menus.
When you right-click (Control-click on Macintosh platforms) a Maple expression, a menu appears with a customized set of actions that can be performed on the expression. This is a context-sensitive menu. You can select a listed action and the associated command is invoked on the selected object(s).
The information necessary to generate a set of context-sensitive menus is stored in a context menu module. The currently active context menu module is accessible under the name ContextMenu[CurrentContext].
There are several choices to make when customizing a context menu system. You can start by constructing a new, empty context menu module with the ContextMenu[New] command. You can also extend an existing context menu system by calling its Copy command.
Once you have a context menu module to work with, you can customize your context menu system using the module's package commands. See ContextMenu[CurrentContext] for details. After your custom menu entries have been added, you can make your module active with the ContextMenu[Install] command.
Each command in the ContextMenu package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
As the underlying implementation of the ContextMenu package is a module, it is also possible to use the form ContextMenu:-command to access a command from the package. For more information, see Module Members.
List of ContextMenu Package Commands
The following is a list of available commands.
Install
New
Save
To display the help page for a particular ContextMenu command, see Getting Help with a Command in a Package.
List of ContextMenu Subpackages
The following is a list of available subpackages.
CurrentContext
Test
See Also
Creating Context Menus, examples/ContextMenu, help, module, UsingPackages, with
Download Help Document