GetGeneratedSubmenuAndAction - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

Home : Support : Online Help : System : Context-Sensitive Menus : Test : GetGeneratedSubmenuAndAction

ContextMenu[Test]

  

GetGeneratedSubmenuAndAction

  

get generated submenu entries and actions

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Test[GetGeneratedSubmenuAndAction]( expr, submenu )

Parameters

expr

-

anything; expression to test

submenu

-

list; list containing the name of the submenu to retrieve

Description

• 

The Test[GetGeneratedSubmenuAndAction] command returns a representation of the context-sensitive submenu and each respective applied action that would be generated by the expression expr.

Examples

The GetGeneratedMenuAndAction command returns the entire generated context menu and the respective applied actions for a given expression:

(1)

The GetGeneratedSubmenuAndAction command retrieves a given submenu. For example, to get just the Plots submenu:

(2)

It is also possible to retrieve nested submenus:

(3)

Compatibility

• 

The ContextMenu[Test][GetGeneratedSubmenuAndAction] command was updated in Maple 2017.

See Also

ContextMenu

ContextMenu[Test]

ContextMenu[Test][GetGeneratedMenuAndAction]

ContextMenu[Test][GetGeneratedSubmenu]

ContextMenu[Test][ListMenuEntries]

ContextMenu[Test][TestAction]

 


Download Help Document