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[CurrentContext] Subpackage
Calling Sequence
CurrentContext[command](arguments)
command(arguments)
Parameters
command
-
command exported by the current context menu module
arguments
arguments to the command
Description
The CurrentContext package represents the current context menu structure. Using the exports of the CurrentContext package, you can change the current context menu structure and functionality.
In the standard distribution of Maple, ContextMenu:-CurrentContext is an alias for the global package StandardContext, which is the built-in context-sensitive menu system.
To change the entries that appear in the current context menu, use the Entries subpackage.
To change the organization of entries in the top-level context menu, use the Categories subpackage.
To change the entry generators or queries that are used by the current context menu module, use the EntryGenerators or Queries subpackages respectively.
The HandleExpression command returns the contents of the context-sensitive menu for a given expression. Though it is generally used only by Maple when generating a context-sensitive menu interactively, it is useful for testing that modifications or additions to context menus behave as expected.
Each command in the CurrentContext 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 CurrentContext package is a module, it is also possible to use the form CurrentContext:-command to access a command from the package. For more information, see Module Members.
List of CurrentContext Package Commands
The following is a list of available commands.
Copy
HandleExpression
To display the help page for a particular CurrentContext command, see Getting Help with a Command in a Package.
List of CurrentContext Subpackages
The following is a list of available subpackages.
Categories
Entries
EntryGenerators
Queries
Examples
Replace the current context menu module with a new, empty context menu module.
Replace the current context with a context menu with one entry.
See Also
Categories, ContextMenu, Entries, EntryGenerators, HandleExpression, Queries
Download Help Document