GetGeneratedSubmenu - 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 : GetGeneratedSubmenu

ContextMenu[Test]

  

GetGeneratedSubmenu

  

get submenu entries generated

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

Test[GetGeneratedSubmenu]( expr, submenu )

Parameters

expr

-

anything; expression to test

submenu

-

list; list containing the name of the submenu to retrieve

Description

• 

The Test[GetGeneratedSubmenu] command returns a representation of the chosen context-sensitive submenu that would be generated by the expression expr.

Examples

The GetGeneratedMenu command returns the entire generated context menu for a given expression:

(1)

The GetGeneratedSubmenu 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][GetGeneratedSubmenu] command was updated in Maple 2017.

See Also

ContextMenu

ContextMenu[Test]

ContextMenu[Test][GetGeneratedMenu]

ContextMenu[Test][GetGeneratedSubmenuAndAction]

ContextMenu[Test][ListMenuEntries]

ContextMenu[Test][TestAction]

 


Download Help Document