*BeginBrowserContextMenu()

Defines a submenu for the context menu in the Session Browser.

Syntax

*BeginBrowserContextMenu(label)

Application

HyperGraph

Inputs

label
The label displayed when you right-click on the context menu.

Context

*BeginDefaults() block.

Example

*BeginDefaults()

     *BrowserContextMenuItem("Turn On",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/general_context_menu_curve.tcl"},::general_curve_context_menu::on_selected_curves,curve)
     *BrowserContextMenuItem("Turn Off",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/general_context_menu_curve.tcl"},::general_curve_context_menu::off_selected_curves,curve)
     *BrowserContextMenuItem("Delete",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/general_context_menu_curve.tcl"},::general_curve_context_menu::delete_selected_curves,curve)

     *BeginBrowserContextMenu("Single Curve Math")
        *BrowserContextMenuItem("Integral",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/include/context_menu_curve.tcl"},::vst_curve_context_menu::integrate_curve,curve)
        *BrowserContextMenuItem("Double Integral",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/include/context_menu_curve.tcl"},::vst_curve_context_menu::dblintegrate_curve,curve)
        *BrowserContextMenuItem("Derivitive",{getenv("ALTAIR_HOME") + "/utility/scripts/plotting/include/context_menu_curve.tcl"},::vst_curve_context_menu::derivitive_curve,curve)
     *EndBrowserContextMenu()

*EndDefaults()

Comments

All *BeginContextMenuItem() statements within a *BeginBrowserContextMenu() block are contained under a common submenu.