ContextMenu[CurrentContext][Categories] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Context-Sensitive Menus : CurrentContext : Categories : ContextMenu/CurrentContext/Categories/List

ContextMenu[CurrentContext][Categories]

  

List

  

list the module entry generators

 

Calling Sequence

Description

Examples of Categories[List]

Calling Sequence

Categories[List]()

Description

• 

The Categories[List] command lists the names of all categories that have been defined in a context menu module.  A category may be defined by being named in either a Categories[Set] command or an Entries[Add] command.

Examples of Categories[List]

MyContextModule := ContextMenu:-New():

with(MyContextModule);

Categories,Copy,Entries,EntryGenerators,HandleExpression,Queries

(1)
  

Set some categories and see that they appear in the output of List.

Categories[Set]("Language Conversions", "Category 1");

Entries[Add]("Integer Factors", "ifactors(%EXPR)", integer, category="Category 2");

7

(2)

Categories[List]();

Category 2

(3)

See Also

Categories/Get

Categories/Set

ContextMenu

ContextMenu[CurrentContext][Categories]

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam