ContextMenu[Test]
GetGeneratedSubmenu
get submenu entries generated
Calling Sequence
Parameters
Description
Examples
Compatibility
Test[GetGeneratedSubmenu]( expr, submenu )
expr
-
anything; expression to test
submenu
list; list containing the name of the submenu to retrieve
The Test[GetGeneratedSubmenu] command returns a representation of the chosen context-sensitive submenu that would be generated by the expression expr.
with⁡ContextMenu:
with⁡ContextMenuTest:
The GetGeneratedMenu command returns the entire generated context menu for a given expression:
GetGeneratedMenu⁡1
Apply a Command,Assign to a Name,Divisors,Expand,Integer Factors,Plots,Plot Builder,Prime Factors,Sum of Squares,Totient Function,|,Integer Functions,Integer Base 10 Log,Integer Base 2 Log,Integer Natural Log,Queries,Is Mersenne Number?,Is Perfect Square?,Is Prime Number?,Is Square Free?,Units,Affix Unit,Atomic,bohr,electron,electron mass,electron per second,electron*bohr,electron*bohr^2/volt,electron/bohr^2,electron^2/hartree,electron_mass*bohr/second^2,hartree,hartree per second,hartree/bohr,hartree/tesla,hartree/tesla*bohr^3,hartree/tesla^2,permittivity,planck,second,tesla,volt,volt*second,volt*second^2/electron,volt/bohr,CGS,barye,centimeter,dyne,erg,erg/second,g,gram,kyne,radian,second,steradian,EMU,abampere,abcoulomb,abfarad,abhenry,abohm,absiemens,abtesla,abvolt,abweber,barye,centimeter,dyne,erg,erg/second,g,gram,joule,kilogram,kyne,meter,newton,pascal,radian,second,steradian,watt,FPS,foot,horsepower,pound,poundal,poundal*foot,poundforce/inch^2,radian,second,steradian,MTS,kilojoule,kilowatt,meter,pieze,radian,second,steradian,sthene,tonne,SI,coulomb,farad,henry,joule,kilogram,lumen,lux,meter,newton,ohm,pascal,radian,second,siemens,steradian,tesla,volt,watt,weber,|,Combinations/Permutations,Combinations,Count,Generate,Fibonacci,Partitions,Count,Generate,Random,Permutations,Count,Generate,Random,Power Set,Number Theory Functions,Calkin-Wilf Sequence,Carmichael Function,I-th Prime,Imaginary Unit,Inverse Totient Function,Moebius Function,Next Prime,Next Safe Prime,Number of Positive Divisors,Number of Prime Factors,Number of Primes,Previous Prime,Primitive Root,Pseudo Primitive Root,Sum of Divisors,Signal Processing,Signal Generation,Generate Signal Using Sample Rate,Generate Signal Using Time Range,Visualizations,Generate Periodogram Using Sample Rate,Generate Periodogram Using Time Range,Generate Signal Plot Using Sample Rate,Generate Signal Plot Using Time Range
The GetGeneratedSubmenu command retrieves a given submenu. For example, to get just the Plots submenu:
GetGeneratedSubmenu⁡1,Plots
Plot Builder
It is also possible to retrieve nested submenus:
GetGeneratedSubmenu⁡1,Units,Affix Unit,Atomic
bohr,electron,electron mass,electron per second,electron*bohr,electron*bohr^2/volt,electron/bohr^2,electron^2/hartree,electron_mass*bohr/second^2,hartree,hartree per second,hartree/bohr,hartree/tesla,hartree/tesla*bohr^3,hartree/tesla^2,permittivity,planck,second,tesla,volt,volt*second,volt*second^2/electron,volt/bohr
The ContextMenu[Test][GetGeneratedSubmenu] command was updated in Maple 2017.
See Also
ContextMenu
ContextMenu[Test][GetGeneratedMenu]
ContextMenu[Test][GetGeneratedSubmenuAndAction]
ContextMenu[Test][ListMenuEntries]
ContextMenu[Test][TestAction]
Download Help Document